代码搜索:PID

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

代码结果 10,000
www.eeworm.com/read/253410/12225217

c threadid.c

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/253409/12225336

c child.c

#include "apue.h" #include static void sig_cld(int); int main() { pid_t pid; if (signal(SIGCLD, sig_cld) == SIG_ERR) perror("signal error"); if ((pid = fork()) < 0) { perror("fo
www.eeworm.com/read/253408/12225488

c fork1.c

#include "apue.h" int glob = 6; /* external variable in initialized data */ char buf[] = "a write to stdout\n"; int main(void) { int var; /* automatic variable on the stack */ pid_t pid; var
www.eeworm.com/read/253408/12225505

c shell1.c

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg
www.eeworm.com/read/253407/12225778

c pipe1.c

#include "apue.h" int main(void) { int n; int fd[2]; pid_t pid; char line[MAXLINE]; if (pipe(fd) < 0) err_sys("pipe error"); if ((pid = fork()) < 0) { err_sys("fork error"); } else if (
www.eeworm.com/read/149988/12326843

cpp main.cpp

#include #include #include #include #ifdef _WIN32 #include #include #else #include #include #i
www.eeworm.com/read/149988/12326858

bak main.cpp.bak

#include #include #include #include #ifdef _WIN32 #include #include #else #include #include #i
www.eeworm.com/read/337868/12336114

inf usbblst.inf

; Installation INF for Altera USB-Blaster Device Driver ; ; Copyright (c) 2001-2004 Future Technology Devices International Ltd. ; Copyright (c) 2004 Altera Corporation ; [Version] Signature="
www.eeworm.com/read/250937/12374802

t daemonize.t

#!/usr/bin/perl use strict; use Test::More tests => 7; use FindBin qw($Bin); use lib "$Bin/lib"; use MemcachedTest; use File::Temp qw(tempfile); my (undef, $tmpfn) = tempfile(); my $server = new_m
www.eeworm.com/read/250172/12426598

c setsid.c

/* * linux/lib/setsid.c * * (C) 1991 Linus Torvalds */ #define __LIBRARY__ #include _syscall0(pid_t,setsid)