]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Add pidfile_fileno() to obtain the file descriptor for an open
authorGuy Helmer <ghelmer@FreeBSD.org>
Tue, 10 Jan 2012 19:53:25 +0000 (19:53 +0000)
committerGuy Helmer <ghelmer@FreeBSD.org>
Tue, 10 Jan 2012 19:53:25 +0000 (19:53 +0000)
pidfile.

libutil/libutil.h

index 47896c167a066fbf79237aa96da4efa922c6a7df..25ac1dba12130b455a73ed007fe682f62adcde23 100644 (file)
@@ -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_