From 3d079fe22ea0f5378c08449929b95ad748d810af Mon Sep 17 00:00:00 2001 From: Guy Helmer Date: Tue, 10 Jan 2012 19:53:25 +0000 Subject: Add pidfile_fileno() to obtain the file descriptor for an open pidfile. --- libutil/libutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libutil') 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_ -- cgit v1.2.3-56-ge451