aboutsummaryrefslogtreecommitdiff
path: root/mycan.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-10 00:36:54 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-10 00:36:54 -0700
commit8f3f85bd03871c6b39d79de7605f522c493d7bf4 (patch)
tree592527e47bd5694efd92cc7de01dddfa24d198a3 /mycan.c
parent0437840e12f73e691baafdac70b71a7101040cf8 (diff)
better comment
Diffstat (limited to 'mycan.c')
-rw-r--r--mycan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mycan.c b/mycan.c
index 71e4e92..0a6c106 100644
--- a/mycan.c
+++ b/mycan.c
@@ -114,7 +114,7 @@ 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 flush buffers or disable buffering also works
+ // maybe other ways to flush buffers or disable buffering (with setbuf and setvbuf) also works
// https://unix.stackexchange.com/questions/725331#comment1376185_725331
// https://stackoverflow.com/a/7876743
// https://unix.stackexchange.com/questions/785686#comment1505589_785686