Searched refs:pfh (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10.1/libutil-38/
H A Dpidfile.c42 static int _pidfile_remove(struct pidfh *pfh, int freeit);
45 pidfile_verify(struct pidfh *pfh) argument
49 if (pfh == NULL || pfh->pf_fd == -1)
54 if (fstat(pfh->pf_fd, &sb) == -1)
56 if (sb.st_dev != pfh->pf_dev || sb.st_ino != pfh->pf_ino)
88 struct pidfh *pfh; local
92 pfh = malloc(sizeof(*pfh));
146 pidfile_write(struct pidfh *pfh) argument
186 pidfile_close(struct pidfh *pfh) argument
207 _pidfile_remove(struct pidfh *pfh, int freeit) argument
239 pidfile_remove(struct pidfh *pfh) argument
[all...]
H A Dlibutil.h68 int pidfile_write(struct pidfh *pfh);
69 int pidfile_close(struct pidfh *pfh);
70 int pidfile_remove(struct pidfh *pfh);
/macosx-10.10.1/NFS-82/rpc.statd/
H A Dstatd.h198 extern struct pidfh *pfh; /* pid file */
H A Dstatd.c99 struct pidfh *pfh = NULL; variable in typeref:struct:pidfh
198 pfh = pidfile_open(_PATH_STATD_PID, 0644, &pid);
199 if (pfh == NULL) {
207 if (pidfile_write(pfh) == -1)
554 pidfile_remove(pfh);
H A Dfile.c738 pfh = pidfile_open(_PATH_STATD_NOTIFY_PID, 0644, &pid);
739 if (pfh == NULL) {
747 if (pidfile_write(pfh) == -1)
755 pidfile_remove(pfh);
811 pidfile_remove(pfh);
/macosx-10.10.1/cron-39/cron/
H A Dcron.c49 struct pidfh *pfh; variable in typeref:struct:pidfh
79 pfh = pidfile_open(pidfile, 0600, &otherpid);
80 if (pfh == NULL) {
140 pidfile_remove(pfh);
146 pidfile_write(pfh);
H A Dcron.h312 extern struct pidfh *pfh;
H A Ddo_command.c111 pidfile_close(pfh);
/macosx-10.10.1/NFS-82/rpc.lockd/
H A Dlockd.c107 struct pidfh *pfh = NULL; variable in typeref:struct:pidfh
234 pfh = pidfile_open(_PATH_LOCKD_PID, 0644, &pid);
235 if (pfh == NULL) {
243 if (pidfile_write(pfh) == -1)
315 pfh = NULL;
690 if (pfh && !sig)
691 pidfile_remove(pfh);
/macosx-10.10.1/NFS-82/rpc.rquotad/
H A Drquotad.c143 struct pidfh *pfh; local
157 pfh = pidfile_open(_PATH_RQUOTAD_PID, 0644, &pid);
158 if (pfh == NULL) {
166 if (pidfile_write(pfh) == -1)
389 pidfile_remove(pfh);
/macosx-10.10.1/emacs-93/emacs/lisp/
H A Ddframe.el476 (pfh (frame-pixel-height parent-frame))
506 (- (x-display-pixel-height) (car (cdr pfy)) pfh)
538 (bottom-guess (+ pfy 5 pfh))
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Drtadvd.c81 static struct pidfh *pfh; variable in typeref:struct:pidfh
231 pfh = pidfile_open(pidfilename, 0600, &otherpid);
232 if (pfh == NULL) {
248 pidfile_write(pfh);
358 pidfile_remove(pfh);

Completed in 350 milliseconds