代码搜索结果
找到约 10,000 项符合
PID 的代码
orphan.c
#include
#include
#include
#include
#include "ourhdr.h"
static void sig_hup(int);
static void pr_ids(char *);
int
main(void)
{
char c;
pid_t pid;
pr_
daemoninit.c
#include
#include
#include
#include "ourhdr.h"
int
daemon_init(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
return(-1);
else if (pid != 0)
exit(0); /* pare
shell2.c
#include
#include
#include
#include "ourhdr.h"
static void sig_int(int); /* our signal-catching function */
int
main(void)
{
char buf[MAXLINE];
pid_t pid;
i
daemoninit.c
#include
#include
#include
#include "ourhdr.h"
int
daemon_init(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
return(-1);
else if (pid != 0)
exit(0); /* pare
orphan.c
#include
#include
#include
#include
#include "ourhdr.h"
static void sig_hup(int);
static void pr_ids(char *);
int
main(void)
{
char c;
pid_t pid;
pr_
test2.c
/*
* See if signals other than the realtime signals are queued,
* and if SA_SIGINFO works with these other signals.
*/
#include "unpipc.h"
static void sig_rt(int, siginfo_t *, void *);
int
main(
client2.c
#include "cliserv2.h"
int
main(int argc, char **argv)
{
int fd, i, nloop, nusec;
pid_t pid;
char mesg[MESGSIZE];
long offset;
struct shmstruct *ptr;
if (argc != 4)
err_quit("usage: client2
wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
chown.cgi
#!/usr/local/bin/perl
# chown.cgi
# Change permissions on cache/log/pid files after a user change
require './squid-lib.pl';
$| = 1;
&header("Change Ownership", "");
print "\n";
$conf = &get_confi