代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/201683/15398636
c shell1.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
char buf[MAXLINE];
pid_t pid;
int status;
printf("%% "); /* print pr
www.eeworm.com/read/113863/15446285
c daemon_init.c
#include "unpipc.h"
#include
#define MAXFD 64
extern int daemon_proc; /* defined in error.c */
void
daemon_init(const char *pname, int facility)
{
int i;
pid_t pid;
if ( (pid = Fork
www.eeworm.com/read/112441/15485307
c sig_chld_waitpid.c
#include "unp.h"
void
sig_chld(int signo)
{
pid_t pid;
int stat;
while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0) {
printf("child %d terminated\n", pid);
}
return;
}
www.eeworm.com/read/112300/15489826
ip-down
#!/bin/sh
# ip-down
# Sample of the ip-down script.
# This is called with the same arguments as ip-up after the device was
# closed. It can be
www.eeworm.com/read/110288/15537696
c daemon_start.c
/*****************************************************************************
* File : daemon.c *
* System Name : StarRing
www.eeworm.com/read/110160/15540924
c setsid.c
/*
* linux/lib/setsid.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall0(pid_t,setsid)
www.eeworm.com/read/106839/15619895
c pipe.c
#include
#include
#include
#define MAXLINE 256
void err_sys (const char* info)
{
perror (info);
exit (1);
}
int main (void)
{
int n, fd [2];
www.eeworm.com/read/105274/15672559
c pidlistc.c
//
// PidListC.C
//
#include
#include "PidListC.h"
/*
* HAL COMPUTER SYSTEMS INTERNATIONAL, LTD.
* 1315 Dell Avenue
* Campbell, CA 95008
www.eeworm.com/read/105179/15676205
c base.c
/*
* linux/fs/proc/base.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* proc base directory handling functions
*/
#include
#include
#include