lib: add fileutils file with stream error checking facility
The close_stream() is copied from GNU lib. Inspiration to do this is talk by Jim Meyering - Goodbye World! The perils of relying on output streams in C. Reference: http://www.irill.org/events/ghm-gnu-hackers-meeting/videos/jim-meyering-goodbye-world-the-perils-of-relying-on-output-streams-in-c Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
1
lib/.gitignore
vendored
1
lib/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.dirstamp
|
||||
test_fileutils
|
||||
test_strutils
|
||||
|
Reference in New Issue
Block a user