Home
last modified time | relevance | path

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

/openbsd/src/usr.sbin/authpf/
Dauthpf.c216 int save_errno, otherpid = -1; in main() local
236 if (fscanf(pidfp, "%d\n%31s\n", &otherpid, otherluser) != 2) in main()
237 otherpid = -1; in main()
239 pidfile, otherpid, strerror(save_errno)); in main()
241 if (otherpid > 0) { in main()
244 otherpid, ipsrc, otherluser); in main()
245 if (kill((pid_t) otherpid, SIGTERM) == -1) { in main()
248 otherpid); in main()
260 otherpid); in main()
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN/lib/
DCPAN.pm721 my $otherpid = <$fh>;
724 if (defined $otherpid && length $otherpid) {
725 chomp $otherpid;
737 "process $otherpid.\n".
741 } elsif (defined $otherpid && $otherpid) {
742 return if $$ == $otherpid; # should never happen
745 There seems to be running another CPAN process (pid $otherpid). Contacting...
747 if (kill 0, $otherpid or $!{EPERM}) {
797 if (defined $otherpid) {
799 kill $otherpid