代码搜索结果

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

fork.c

/* * linux/kernel/fork.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * 'fork.c' contains the help-routines for the 'fork' system call * (see also system_call.s). * Fork is rather sim

exit.c

/* * linux/kernel/exit.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #define DEBUG_PROC_TREE #include #include #include #include

exit.c

/* * linux/kernel/exit.c * * (C) 1991 Linus Torvalds */ #include #include #include #include #include #include

wait1.c

#include #include #include "ourhdr.h" int main(void) { pid_t pid; int status; if ( (pid = fork()) < 0) err_sys("fork error"); else if (pid == 0) /* child */ exit

extrpid.m

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

wait1.c

#include #include #include "ourhdr.h" int main(void) { pid_t pid; int status; if ( (pid = fork()) < 0) err_sys("fork error"); else if (pid == 0) /* child */ exit

client1.c

#include "unpipc.h" struct shmstruct { /* struct stored in shared memory */ int count; }; sem_t *mutex; /* pointer to named semaphore */ int main(int argc, char **argv) { int fd, i, nloop; pid

exit.c

#include #include #include #include #include #include #include int sys_pause(void); int sys_close(int

ps_systemv.c

pid_tgetpidbyname(char *name,pid_t skipit) { DIR *dp; struct dirent *dirp; prpsinfo_t retval; int fd; pid_t ourretval=-1; if((dp=opendir("/proc"))==NULL){ return -1;

config-suse-linux

find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }' path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin