summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>2012-01-10 19:53:25 +0000
committerghelmer <ghelmer@FreeBSD.org>2012-01-10 19:53:25 +0000
commit9446d41409ef9748c6f20034374a472d777b7135 (patch)
tree4f74c9cb5ce5efb84ef61828351446984695db41 /lib/libutil/libutil.h
parentf6e21fcb264de7e7e3df9d592037f2dd84bb4008 (diff)
downloadFreeBSD-src-9446d41409ef9748c6f20034374a472d777b7135.zip
FreeBSD-src-9446d41409ef9748c6f20034374a472d777b7135.tar.gz
Add pidfile_fileno() to obtain the file descriptor for an open
pidfile.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 47896c1..25ac1db 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -170,6 +170,7 @@ struct pidfh *pidfile_open(const char *path, mode_t mode, pid_t *pidptr);
int pidfile_write(struct pidfh *pfh);
int pidfile_close(struct pidfh *pfh);
int pidfile_remove(struct pidfh *pfh);
+int pidfile_fileno(struct pidfh *pfh);
#endif
#ifdef _UFS_UFS_QUOTA_H_
OpenPOWER on IntegriCloud