Home
last modified time | relevance | path

Searched refs:newpfh (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libutil++/
H A Dlibutil++.hh176 void reset(struct pidfh *newpfh = nullptr) in reset() argument
180 pfh = newpfh; in reset()
211 pidfile &operator=(struct pidfh *newpfh) in operator =() argument
213 reset(newpfh); in operator =()
/freebsd/sbin/hastd/
H A Dhastd.c486 struct pidfh *newpfh; in hastd_reload() local
493 newpfh = NULL; in hastd_reload()
543 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid); in hastd_reload()
544 if (newpfh == NULL) { in hastd_reload()
554 } else if (pidfile_write(newpfh) == -1) { in hastd_reload()
582 if (newpfh != NULL) { in hastd_reload()
586 pfh = newpfh; in hastd_reload()
717 if (newpfh != NULL) in hastd_reload()
718 (void)pidfile_remove(newpfh); in hastd_reload()