Warning: main(topsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 13

Warning: main(topsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 13

Warning: main() [function.include]: Failed opening 'topsc.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 13


Warning: main(leftsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 16

Warning: main(leftsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 16

Warning: main() [function.include]: Failed opening 'leftsc.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 16

Displaying  Source Code(s)  
 


Warning: main(adsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 31

Warning: main(adsc.html) [function.main]: failed to open stream: No such file or directory in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 31

Warning: main() [function.include]: Failed opening 'adsc.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eng123/public_html/sourcecode/c/unix/work_on_childpossesses.html on line 31

 
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
<BR>);
}
else
{
printf("ARGUMENT LIMIT IS %ld
<BR>,limit);
}
/* GET THE LIMIT OF THE CHILD PROCESS */
if((limit = sysconf(_SC_CHILD_MAX)) < 0)
{
perror("CHILD MAXIMUM LIMIT ERROR
<BR>);
}
else
{
printf("MAXIMUM CHILD PROCESS %ld
<BR>,limit);
}
printf("<BR>);
return(0);
}
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG