diff options
author | Guy Helmer <ghelmer@FreeBSD.org> | 2012-01-10 19:53:25 +0000 |
---|---|---|
committer | Guy Helmer <ghelmer@FreeBSD.org> | 2012-01-10 19:53:25 +0000 |
commit | 3d079fe22ea0f5378c08449929b95ad748d810af (patch) | |
tree | 75880c92e078bf4bb6a72d5c7bbebf21f326c26c /libutil | |
parent | 5c5e67d83f6be45507a76cb75af552ccc3576daf (diff) | |
download | pw-darwin-3d079fe22ea0f5378c08449929b95ad748d810af.tar.gz pw-darwin-3d079fe22ea0f5378c08449929b95ad748d810af.tar.zst pw-darwin-3d079fe22ea0f5378c08449929b95ad748d810af.zip |
Add pidfile_fileno() to obtain the file descriptor for an open
pidfile.
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/libutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 47896c1..25ac1db 100644 --- a/libutil/libutil.h +++ b/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_ |