C > C on Unix
Program to work on Child Processes
Program to work on Child Processes # include < stdio.h> # include < stdlib.h> # include < unistd.h> int main() { long limit; /* GET THE LIMIT OF THE ARGUMENT */ if((limit = sysconf(_SC_ARG_MAX)) < 0) { perror("ARG MAXIMUM LIMIT ERROR "); } else { printf("ARGUMENT LIMIT IS %ld ",limit); } /* GET THE LIMIT OF THE CHILD PROCESS */ if((limit = sysconf(_SC_CHILD_MAX)) < 0) { perror("CHILD MAXIMUM LIMIT ERROR "); } else { printf("MAXIMUM CHILD PROCESS %ld ",limit); } printf(" "); return(0); }
C Codes
Beginners
C on Unix
Code Snippets
Data Structures
File Operations
Games Graphics
Gnu-Linux
Hardware
Mathematics
Miscellaneous
Small Programs
Sorting