Search Results

Search: Posts Made By: gol007
Forum: Programming 04-17-2010
1,815
Posted By gol007
thanks i got it...
thanks i got it...
Forum: Programming 04-16-2010
1,815
Posted By gol007
i was expecting the same output as you said but ...
i was expecting the same output as you said but on running the program..its output is independent of line1 means it has no effect and pid is being printed again and again...
Forum: Programming 04-13-2010
1,815
Posted By gol007
Explain output
#include<signal.h>
#include<stdio.h>
#include<stdlib.h>
sigcatcher()
{
printf("pid=%d",getpid());
signal(SIGINT,sigcatcher); //line1
}
main()
{
int ppid;
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy