Searched refs:pidstr (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/openbsm/compat/ |
| H A D | pidfile.h | 188 char pidstr[16]; in pidfile_write() local 214 snprintf(pidstr, sizeof(pidstr), "%u", getpid()); in pidfile_write() 215 if (pwrite(fd, pidstr, strlen(pidstr), 0) != (ssize_t)strlen(pidstr)) { in pidfile_write()
|
| /freebsd/lib/libutil/ |
| H A D | pidfile.c | 232 char pidstr[16]; in pidfile_write() local 258 snprintf(pidstr, sizeof(pidstr), "%u", getpid()); in pidfile_write() 259 if (pwrite(fd, pidstr, strlen(pidstr), 0) != (ssize_t)strlen(pidstr)) { in pidfile_write()
|
| /freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_debugfs.c | 275 char pidstr[16]; in vchiq_debugfs_add_instance() local 279 snprintf(pidstr, sizeof(pidstr), "%d", in vchiq_debugfs_add_instance() 282 top = debugfs_create_dir(pidstr, clients); in vchiq_debugfs_add_instance()
|
| H A D | vchiq_arm.c | 3104 char pidstr[32]; in vchiq_proc_add_instance() local 3109 snprintf(pidstr, sizeof(pidstr), "%d", pid); in vchiq_proc_add_instance() 3110 top = proc_mkdir(pidstr, clients); in vchiq_proc_add_instance()
|
| /freebsd/usr.bin/procstat/ |
| H A D | procstat.c | 189 char *pidstr = NULL; in procstat() local 191 asprintf(&pidstr, "%d", kipp->ki_pid); in procstat() 192 if (pidstr == NULL) in procstat() 194 xo_open_container(pidstr); in procstat() 196 xo_close_container(pidstr); in procstat() 197 free(pidstr); in procstat()
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
| H A D | JDTrace.java | 788 String pidstr = g.getOptarg(); in main() local 791 pid = Integer.parseInt(pidstr); in main() 793 System.err.println("invalid pid: " + pidstr); in main()
|
| /freebsd/crypto/openssh/ |
| H A D | ssh-agent.c | 2246 char *shell, *format, *fdstr, *pidstr, *agentsocket = NULL; in main() local 2364 pidstr = getenv(SSH_AGENTPID_ENV_NAME); in main() 2365 if (pidstr == NULL) { in main() 2370 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr); in main() 2374 SSH_AGENTPID_ENV_NAME, pidstr, errstr); in main() 2403 (pidstr = getenv("LISTEN_PID")) != NULL && in main() 2411 pid = (int)strtonum(pidstr, 1, INT_MAX, &errstr); in main()
|