代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/103200/15740683
h syscallent.h
{ 0, 0, printargs, "svr4_syscall" }, /* 000 */
{ 0, 0, printargs, "svr4_exit" }, /* 001 */
{ 0, 0, printargs, "svr4_fork" }, /* 002 */
{ 0, 0, printargs, "svr4_read" }, /* 003 */
{ 0, 0,
www.eeworm.com/read/100584/15870956
c test2.c
#include "unpipc.h"
int
main(int argc, char **argv)
{
int fd[2], n;
pid_t childpid;
fd_set wset;
Pipe(fd);
if ( (childpid = Fork()) == 0) { /* child */
printf("child closing pipe read descr
www.eeworm.com/read/192103/8404180
htm ch14_06.htm
Getting Down and Dirty with Fork (Learning Perl, 3rd Edition)
www.eeworm.com/read/281575/9149383
c merge-cache.c
#include
#include
#include "cache.h"
static const char *pgm = NULL;
static const char *arguments[5];
static void run_program(void)
{
int pid = fork(), status;
if (pid
www.eeworm.com/read/377148/9293108
am makefile.am
SUBDIRS = prog
TESTS = mutex.sh barrier.sh cond.sh pthread.sh sem.sh sem_open.sh fork.sh
EXTRA_DIST = generic.sh init.sh $(TESTS)
www.eeworm.com/read/374989/9376332
c execve.c
#include
#include
#include
int main(int argc,char * argv[],char ** environ)
{
pid_t pid;
int stat_val;
printf("Exec example!\n");
pid = fork();
www.eeworm.com/read/371500/9551200
c ptyfork.c
#include
#include
#ifndef TIOCGWINSZ
#include /* 44BSD requires this too */
#endif
#include "ourhdr.h"
pid_t
pty_fork(int *ptrfdm, ch
www.eeworm.com/read/371500/9551288
c ptyfork.c
#include
#include
#ifndef TIOCGWINSZ
#include /* 44BSD requires this too */
#endif
#include "ourhdr.h"
pid_t
pty_fork(int *ptrfdm, ch
www.eeworm.com/read/159132/10692323
c opensocket.c
#include
#include
#include
int soc,cli,soc_len;
struct sockaddr_in serv_addr;
struct sockaddr_in cli_addr;
int main()
{
if(fork()==0)
www.eeworm.com/read/419410/10870341
c execve.c
#include
#include
#include
int main(int argc,char * argv[],char ** environ)
{
pid_t pid;
int stat_val;
printf("Exec example!\n");
pid = fork();