Compiler warning: ignoring return value of ‘fgets’
Serial port logger which can be used to print to stdout.
Brought to you by:
jame
Compile time warning when building the Debian package:
~/Projects/ttylog/build/ttylog-0.28/ttylog.c: In function ‘main’:
~/Projects/ttylog/build/ttylog-0.28/ttylog.c:198:11: warning: declared with attribute warn_unused_result [-Wunused-result]
fgets (line, 1024, logfile);
^