代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/200278/5070905
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/192230/5158982
mh altos.mh
# OBSOLETE # Host: Altos 3068 (m68k, System V release 2)
# OBSOLETE
# OBSOLETE XM_FILE= xm-altos.h
# OBSOLETE XDEPFILES= infptrace.o inftarg.o fork-child.o altos-xdep.o
www.eeworm.com/read/189477/5192674
makefile
CPPFLAGS = -ffreestanding -I..\..\include -nostdlib -fno-builtin -fno-rtti -fno-exceptions -finline -fomit-frame-pointer -w
SRCFILES = _exit.c \
execve.c \
fork.c \
free.c \
malloc.c \
www.eeworm.com/read/179911/5299608
h unistd.h
#ifndef _ASM_PPC_UNISTD_H_
#define _ASM_PPC_UNISTD_H_
/*
* This file contains the system call numbers.
*/
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define __NR_write
www.eeworm.com/read/164379/5489949
c 实例8-9.c
#include
#include
#include
main()
{
int status;
pid_t pc,pr;
pc=fork();
if(pc
www.eeworm.com/read/164379/5489950
c 实例8-10.c
#include
#include
main()
{
pid_t pc, pr;
int status;
pc=fork();
if(pc
www.eeworm.com/read/164379/5489956
c 实例8-8.c
#include
#include
#include
#include
main()
{
pid_t pc,pr;
pc=fork();
if(pc
www.eeworm.com/read/350097/3134498
h unistd.h
#ifndef _ASM_PPC_UNISTD_H_
#define _ASM_PPC_UNISTD_H_
/*
* This file contains the system call numbers.
*/
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define __NR_write
www.eeworm.com/read/338072/3322325
h yarrow.h
/* -*- Mode: C; c-file-style: "bsd" -*- */
#ifndef YARROW_H
#define YARROW_H
#if defined( YARROW_DETECT_FORK )
#include
#endif
#include "ytypes.h"
#include "yhash.h"
#include "ycipher.h"
www.eeworm.com/read/325387/3484566
c ngx_daemon.c
/*
* Copyright (C) Igor Sysoev
*/
#include
#include
ngx_int_t ngx_daemon(ngx_log_t *log)
{
int fd;
switch (fork()) {
case -1:
ngx_log_error(NGX