diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-05-09 23:21:19 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-05-09 23:21:19 -0700 |
commit | 0437840e12f73e691baafdac70b71a7101040cf8 (patch) | |
tree | 6a409c588bb738f76a9ee24ecea98b20b8a1f1f5 /mycan.c | |
parent | f566ab01e344058bd74dfab86a1cd1cceeb3a6ce (diff) |
better comment
Diffstat (limited to 'mycan.c')
-rw-r--r-- | mycan.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -114,9 +114,10 @@ int main(int argc, char **argv) } // need fflush for systemd to log my stdout // without fflush, fprintf stderr works, printf not work, fprintf stdout not work - // maybe other ways to disable buffering or flush buffers also works - // https://unix.stackexchange.com/questions/725331 - // https://unix.stackexchange.com/questions/785686 + // maybe other ways to flush buffers or disable buffering also works + // https://unix.stackexchange.com/questions/725331#comment1376185_725331 + // https://stackoverflow.com/a/7876743 + // https://unix.stackexchange.com/questions/785686#comment1505589_785686 fflush(stdout); //1.Create socket |