代码搜索结果

找到约 10,000 项符合 PID 的代码

wait.h

#ifndef _SYS_WAIT_H #define _SYS_WAIT_H #include #define _LOW(v) ( (v) & 0377) #define _HIGH(v) ( ((v) >> 8) & 0377) /* options for waitpid, WUNTRACED not supported */ #define WNOHAN

blocklib.m

function [ret,x0,str,ts,xts]=blocklib(t,x,u,flag); %BLOCKLIB is the M-file description of the SIMULINK system named BLOCKLIB. % The block-diagram can be displayed by typing: BLOCKLIB. % % SYS=BLOC

fu.h

/////////////////////////////////////////////////////////////////////////////////////// // Filename fu.h // // Author: fuzen_op // Email: fuzen_op@yahoo.com or fuzen_op@rootkit.com // // Descr

wait.h

#ifndef _SYS_WAIT_H #define _SYS_WAIT_H #include #define _LOW(v) ( (v) & 0377) #define _HIGH(v) ( ((v) >> 8) & 0377) /* options for waitpid, WUNTRACED not supported */ #define WNOHAN

stop.cgi

#!/usr/local/bin/perl # stop.cgi # Stop the running sendmail process require './sendmail-lib.pl'; &ReadParse(); $access{'stop'} || &error("You are not allowed to stop sendmail"); $whatfailed = "Faile

restart.cgi

#!/usr/local/bin/perl # restart.cgi # Restart the running named require './bind8-lib.pl'; &ReadParse(); %access = &get_module_acl(); $access{'ro'} && &error($text{'restart_ecannot'}); kill('HUP', $in

sigchldwait.c

#include "unp.h" void sig_chld(int signo) { pid_t pid; int stat; pid = wait(&stat); printf("child %d terminated\n", pid); return; }

sigchldwait.c

#include "unp.h" void sig_chld(int signo) { pid_t pid; int stat; pid = wait(&stat); printf("child %d terminated\n", pid); return; }

fork2.c

#include "apue.h" #include int main(void) { pid_t pid; if ((pid = fork()) < 0) { err_sys("fork error"); } else if (pid == 0) { /* first child */ if ((pid = fork()) < 0) err_s