Searched refs:pidfile (Results 1 – 4 of 4) sorted by relevance
297 char *pidfile; /* -P option */ member
1502 test->pidfile = strdup(optarg); in iperf_parse_arguments()4533 if (test->pidfile) { in iperf_create_pidfile()4538 fd = open(test->pidfile, O_RDONLY, 0); in iperf_create_pidfile()4554 free(test->pidfile); in iperf_create_pidfile()4555 test->pidfile = NULL; in iperf_create_pidfile()4566 fd = open(test->pidfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR|S_IWUSR); in iperf_create_pidfile()4585 if (test->pidfile) { in iperf_delete_pidfile()4586 if (unlink(test->pidfile) < 0) { in iperf_delete_pidfile()
139 -I, --pidfile file
75 * --pidfile now works with --client mode (#1110).