Deleted Added
full compact
36c36
< * $FreeBSD: head/lib/libutil/libutil.h 129677 2004-05-24 22:19:27Z pjd $
---
> * $FreeBSD: head/lib/libutil/libutil.h 149423 2005-08-24 17:21:38Z pjd $
51a52,61
> #ifdef _SYS_PARAM_H_
> /* for pidfile.c */
> struct pidfh {
> int pf_fd;
> char pf_path[MAXPATHLEN + 1];
> __dev_t pf_dev;
> ino_t pf_ino;
> };
> #endif
>
104a115,121
>
> #ifdef _SYS_PARAM_H_
> 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);
> #endif