diff options
author | Sami Kerola <kerolasa@iki.fi> | 2018-12-27 20:54:19 +0000 |
---|---|---|
committer | Sami Kerola <kerolasa@iki.fi> | 2019-01-01 12:25:40 +0000 |
commit | a4a1e8832c5908eea4e61bcf2bc76560cd098913 (patch) | |
tree | 72efe5813e98a3b38cd8b11f59e4390b2989d902 /iputils_common.h | |
parent | 4655ecc5105c383669ef529f21f3344f99e7372f (diff) | |
download | iputils-a4a1e8832c5908eea4e61bcf2bc76560cd098913.tar.gz |
ninfod: check writing a pid file was successful
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'iputils_common.h')
-rw-r--r-- | iputils_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iputils_common.h b/iputils_common.h index 304af71..167292f 100644 --- a/iputils_common.h +++ b/iputils_common.h @@ -22,6 +22,7 @@ extern void error(int status, int errnum, const char *format, ...); #endif +extern int close_stream(FILE *stream); extern void close_stdout(void); #endif /* IPUTILS_COMMON_H */ |