Home
last modified time | relevance | path

Searched refs:pidptr (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/openbsm/compat/
H A Dpidfile.h71 pidfile_read(const char *path, pid_t *pidptr) in pidfile_read() argument
89 *pidptr = strtol(buf, &endptr, 10); in pidfile_read()
97 pidfile_open(const char *path, mode_t mode, pid_t *pidptr) in pidfile_open() argument
104 if (pidptr != NULL) in pidfile_open()
105 *pidptr = -1; in pidfile_open()
135 if (errno == EWOULDBLOCK && pidptr != NULL) { in pidfile_open()
140 errno = pidfile_read(pfh->pf_path, pidptr); in pidfile_open()
146 *pidptr = -1; in pidfile_open()
/freebsd-13.1/libexec/mknetid/
H A Dmknetid.c113 char *ptr, *pidptr, *gidptr, *hptr; in main() local
204 pidptr = ptr; in main()
220 pidptr, domain); in main()
225 OPSYS, pidptr, domain); in main()
230 printf("%s.%s@%s %s:%s", OPSYS, pidptr, domain, pidptr, gidptr); in main()
/freebsd-13.1/lib/libutil/
H A Dpidfile.c77 pidfile_read(int dirfd, const char *filename, pid_t *pidptr) in pidfile_read() argument
95 *pidptr = strtol(buf, &endptr, 10); in pidfile_read()
103 pidfile_open(const char *pathp, mode_t mode, pid_t *pidptr) in pidfile_open() argument
159 if (pidptr == NULL) { in pidfile_open()
167 pfh->pf_filename, pidptr); in pidfile_open()
173 *pidptr = -1; in pidfile_open()
/freebsd-13.1/usr.sbin/cron/cron/
H A Dpopen.c58 cron_popen(program, type, e, pidptr) in cron_popen() argument
61 PID_T *pidptr;
223 *pidptr = pid;