diff options
author | 2020-02-15 21:10:46 +0200 | |
---|---|---|
committer | 2020-02-15 21:10:46 +0200 | |
commit | 8d72ffe268305a823057053f6a172ac7debee3b0 (patch) | |
tree | b2ceb490c89702527c32e467044f4701b67c6a17 /src/io.h | |
parent | 671cef6ab353a6143f88622a86049681ee19e8f4 (diff) | |
download | algos-ld1-8d72ffe268305a823057053f6a172ac7debee3b0.tar.gz algos-ld1-8d72ffe268305a823057053f6a172ac7debee3b0.tar.bz2 algos-ld1-8d72ffe268305a823057053f6a172ac7debee3b0.zip |
add a wrapper for closing files.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ struct stream { char *name; }; -int openstream(struct stream *in); +int stream_open(struct stream *in); +int stream_close(struct stream *in); #endif /* ALGOS_IO_H_INCLUDED */ |