Home
last modified time | relevance | path

Searched refs:thepid (Results 1 – 25 of 51) sorted by relevance

123

/dports/graphics/urt/urt-3.1b1_12/lib/
H A Drle_open_f.c136 int thepid; /* PID from my_popen */ local
137 if ( (fp = my_popen( file_name + 1, mode, &thepid )) == NULL )
146 thepid, catching_children );
149 pids[catching_children++] = thepid;
156 int thepid; /* PID from my_popen. */ local
172 fp = my_popen( combuf, mode, &thepid );
187 pids[catching_children++] = thepid;
260 int thepid = 0; local
278 if ( (thepid = fork()) < 0 )
284 else if (thepid == 0) {
[all …]
/dports/sysutils/schedutils/schedutils-0.7.2/
H A Dgetsched.c59 pid_t thepid; in main() local
78 thepid = (pid_t) atoi (argv[0]); in main()
79 if (thepid < 0) in main()
86 ret = oldsched = sched_getscheduler (thepid); in main()
92 ret = sched_getparam (thepid, &oldpri); in main()
99 print_sched (thepid, oldsched, &oldpri); in main()
H A Dresched.c68 pid_t thepid; in main() local
120 thepid = (pid_t) atoi (argv[0]); in main()
128 ret = sched_getparam (thepid, &oldpri); in main()
159 ret = oldsched = sched_getscheduler (thepid); in main()
168 print_sched (thepid, oldsched, &oldpri); in main()
171 ret = sched_setscheduler (thepid, newsched, &pri); in main()
181 print_sched (thepid, newsched, &pri); in main()
/dports/graphics/netpbm/netpbm-10.91.01/urt/
H A Drle_open_f.c45 int thepid = 0; in my_popen() local
62 if ( (thepid = fork()) < 0 ) in my_popen()
68 else if (thepid == 0) { in my_popen()
104 *pid = thepid; in my_popen()
183 pid_t thepid; /* PID from my_popen */ in dealWithSubprocess()
187 *fpP = my_popen(file_name + 1, mode, &thepid); in dealWithSubprocess()
193 pids[(*catchingChildrenP)++] = thepid; in dealWithSubprocess()
197 pid_t thepid; /* PID from my_popen. */ in dealWithSubprocess()
209 *fpP = my_popen(command, mode, &thepid); in dealWithSubprocess()
217 pids[(*catchingChildrenP)++] = thepid; in dealWithSubprocess()
/dports/japanese/mutt-devel/mutt-1.5.21/
H A Dsystem.c42 pid_t thepid; in _mutt_system() local
70 if ((thepid = fork ()) == 0) in _mutt_system()
120 else if (thepid != -1) in _mutt_system()
124 waitpid (thepid, &rc, 0); in _mutt_system()
126 rc = imap_wait_keepalive (thepid); in _mutt_system()
138 rc = (thepid != -1) ? (WIFEXITED (rc) ? WEXITSTATUS (rc) : -1) : -1; in _mutt_system()
H A Dfilter.c36 int pin[2], pout[2], perr[2], thepid; in mutt_create_filter_fd() local
80 if ((thepid = fork ()) == 0) in mutt_create_filter_fd()
123 else if (thepid == -1) in mutt_create_filter_fd()
166 return (thepid); in mutt_create_filter_fd()
H A Dattach.c516 pid_t thepid = 0; in mutt_view_attachment() local
561 if ((mutt_wait_filter (thepid) || (entry->needsterminal && in mutt_view_attachment()
649 pid_t thepid; in mutt_pipe_attachment() local
673 thepid = mutt_create_filter (path, &s.fpout, NULL, NULL); in mutt_pipe_attachment()
675 if (thepid < 0) in mutt_pipe_attachment()
705 thepid = mutt_create_filter (path, &ofp, NULL, NULL); in mutt_pipe_attachment()
707 if (thepid < 0) in mutt_pipe_attachment()
729 if (mutt_wait_filter (thepid) != 0) in mutt_pipe_attachment()
950 pid_t thepid; in mutt_print_attachment() local
1014 if (mutt_wait_filter (thepid) || option (OPTWAITKEY)) in mutt_print_attachment()
[all …]
H A Dsmime.c812 pid_t thepid; in smime_handle_cert_email() local
842 mutt_wait_filter (thepid); in smime_handle_cert_email()
901 pid_t thepid; in smime_extract_certificate() local
936 mutt_wait_filter (thepid); in smime_extract_certificate()
1010 pid_t thepid; in smime_extract_signer_certificate() local
1079 pid_t thepid=-1; in smime_invoke_import() local
1250 pid_t thepid; in smime_build_smime_entity() local
1299 if ((thepid = in smime_build_smime_entity()
1370 pid_t thepid; in smime_sign_message() local
1546 pid_t thepid; in smime_verify_one() local
[all …]
H A Dpgp.c262 pid_t thepid; in pgp_application_pgp_handler() local
389 rv = mutt_wait_filter (thepid); in pgp_application_pgp_handler()
610 pid_t thepid; in pgp_verify_one() local
636 if((thepid = pgp_invoke_verify (NULL, &pgpout, NULL, in pgp_verify_one()
651 if ((rv = mutt_wait_filter (thepid))) in pgp_verify_one()
795 pid_t thepid; in pgp_decrypt_part() local
852 rv = mutt_wait_filter (thepid); in pgp_decrypt_part()
1023 pid_t thepid; in pgp_sign_message() local
1047 if ((thepid = pgp_invoke_sign (&pgpin, &pgpout, &pgperr, in pgp_sign_message()
1273 pid_t thepid; in pgp_encrypt_message() local
[all …]
H A Dgnupgparse.c366 pid_t thepid; in pgp_get_candidates() local
377 thepid = pgp_invoke_list_keys (NULL, &fp, NULL, -1, -1, devnull, in pgp_get_candidates()
379 if (thepid == -1) in pgp_get_candidates()
418 mutt_wait_filter (thepid); in pgp_get_candidates()
H A Dcommands.c389 pid_t thepid; in _mutt_pipe_message() local
411 if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) in _mutt_pipe_message()
419 rc = mutt_wait_filter (thepid); in _mutt_pipe_message()
445 if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) in _mutt_pipe_message()
454 if (mutt_wait_filter (thepid) != 0) in _mutt_pipe_message()
462 if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) in _mutt_pipe_message()
478 if (mutt_wait_filter (thepid) != 0) in _mutt_pipe_message()
H A Dpgpkey.c453 pid_t thepid; in pgp_select_key() local
567 if ((thepid = pgp_invoke_verify_key (NULL, NULL, NULL, -1, in pgp_select_key()
576 mutt_wait_filter (thepid); in pgp_select_key()
720 pid_t thepid; in pgp_make_key_attachment() local
755 if ((thepid = in pgp_make_key_attachment()
766 mutt_wait_filter (thepid); in pgp_make_key_attachment()
H A Dquery.c84 pid_t thepid; in run_query() local
89 if ((thepid = mutt_create_filter (cmd, NULL, &fp, NULL)) < 0) in run_query()
127 if (mutt_wait_filter (thepid)) in run_query()
H A Drecvattach.c667 pid_t thepid; in mutt_pipe_attachment_list() local
684 thepid = mutt_create_filter (buf, &state.fpout, NULL, NULL); in mutt_pipe_attachment_list()
687 if (mutt_wait_filter (thepid) != 0 || option (OPTWAITKEY)) in mutt_pipe_attachment_list()
774 pid_t thepid; in mutt_print_attachment_list() local
784 thepid = mutt_create_filter (NONULL (PrintCmd), &state.fpout, NULL, NULL); in mutt_print_attachment_list()
787 if (mutt_wait_filter (thepid) != 0 || option (OPTWAITKEY)) in mutt_print_attachment_list()
/dports/net/csync2/csync2-a8d38eb/contrib/
H A Dcsync2id.pl300 my $thepid;
302 $thepid=<>;
303 logger(LOGINFO, "Main: about to kill previous incarnation $thepid");
304 kill(15,$thepid);
/dports/mail/procmail/procmail-3.22/src/
H A Dmisc.c123 { charNUM(num,thepid);
187 { thepid=getpid();oldtime=0; in newid()
199 { charNUM(num,thepid); /* ctime from a sighandler */
200 elog("[");oldtime=newtime;ultstr(0,(unsigned long)thepid,num);elog(num);
278 if(getpid()==thepid) in Terminate()
H A Dexopen.c69 *p=UNIQ_PREFIX,dot=ultoan((unsigned long)thepid,p+1);
82 dot=ultstr(0,(unsigned long)thepid,dot+1);
H A Dlockfile.c30 pid_t thepid; variable
70 sleepsec=DEFlocksleep;retries= -1;suspend=DEFsuspend;thepid=getpid();force=0;
/dports/devel/libvirt/libvirt-7.10.0/src/lxc/
H A Dlxc_domain.c327 long long thepid; in virLXCDomainObjPrivateXMLParse() local
329 if (virXPathLongLong("string(./init[1]/@pid)", ctxt, &thepid) < 0) { in virLXCDomainObjPrivateXMLParse()
334 priv->initpid = thepid; in virLXCDomainObjPrivateXMLParse()
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/lfs/
H A Dlfs_inode.h240 # define LFS_ENTER_LOG(theop, thefile, theline, lbn, theflags, thepid) do {\ argument
248 lfs_log[lfs_lognum].pid = (thepid); \
/dports/comms/conserver-com/conserver-8.2.4/conserver/
H A Dmaster.c578 (unsigned long)thepid); in DoNormalRead()
592 kill(thepid, SIGTERM); in DoNormalRead()
605 kill(thepid, SIGHUP); in DoNormalRead()
617 kill(thepid, SIGHUP); in DoNormalRead()
628 kill(thepid, SIGUSR1); in DoNormalRead()
640 kill(thepid, SIGUSR2); in DoNormalRead()
H A Dcutil.c27 pid_t thepid = 0; variable
488 StrTime((time_t *)0), progname, (unsigned long)thepid, in Debug()
505 progname, (unsigned long)thepid); in Error()
521 (unsigned long)thepid); in Msg()
540 progname, (unsigned long)thepid); in Verbose()
623 (unsigned long)thepid, fd); in FileOpenFD()
631 (unsigned long)thepid, fd); in FileOpenFD()
668 (unsigned long)thepid, fdout); in FileOpenPipe()
676 (unsigned long)thepid, fd); in FileOpenPipe()
759 (unsigned long)thepid, fd); in FileOpen()
[all …]
/dports/www/mod_fcgid/mod_fcgid-2.3.9/modules/fcgid/
H A Dfcgid_pm_main.c168 pid_t thepid; in scan_idlelist_zombie() local
229 thepid = current_node->proc_id.pid; in scan_idlelist_zombie()
233 APR_PID_T_FMT, thepid); in scan_idlelist_zombie()
/dports/math/form/form-4.2.1/sources/
H A Dextcmd.c472 static FORM_INLINE pid_t writepid(int fd, pid_t thepid) in writepid() argument
474 if(writeFromb(fd,(char*)&thepid,sizeof(pid_t))!=sizeof(pid_t)) in writepid()
1161 pid_t thepid; in run_cmd() local
1183 thepid=do_run_cmd( in run_cmd()
1198 return(thepid); in run_cmd()
/dports/mail/neomutt/neomutt-20211029/
H A Dmuttlib.h60 FILE * mutt_open_read(const char *path, pid_t *thepid);

123