代码搜索结果

找到约 10,000 项符合 9 的代码

11-9.c

#include #include void sig_handler(int signo) { switch(signo) { case SIGUSR1: printf("Received SIGUSR1 signal.\n");

7-9.c

#include main() { char str[]="123c@#FDsP[e?"; int i; for(i=0;str[i]!=0;i++) if(isupper(str[i])) printf("%c is an uppercase character\n",str[i]); }

10-9.c

#include #include #include #include #include #include #include #include #define PROJID 0xFF i

9-4.c

#include #include int main(int argc,char **argv) { pid_t my_pid,parent_pid; uid_t my_uid,my_euid; gid_t my_gid,my_egid; struct passwd *my_info; my_pid=getpid();

9-2.c

#include /* defines fork(), and pid_t. */ #include /* defines the wait() system call. */ main() { /* storage place for the pid of the child process, and its exit status

9-1.c

#include #include main() { pid_t pid; pid = fork(); if(!pid) printf("this is child "); else if (pid>0) printf("this is parent,ch

9-6.c

/*-- Copyright (c) File Name: auth_svr.c Version: 1.0 Abstract: Authentication service program source co

9-5.c

#include main() { int i = 150; int j = -100; double k = 3.14159; fprintf(stdout,"%d %f %x \n",j,k,i); fprintf(stdout,"%2d %*d\n",i,2,i); }

9-3.c

#include #include main() { int pid; pid = fork(); switch(pid) { case -1: perror("fork failed"); exit(1); case 0: execl("/bin/ls","ls","-l"

chap_9.c

/* //************************************************************************* // // ZLGMCU // www.zlgmcu.com // File Name: chap_9.C // Revision: 0.2(200