Search Results

Search: Posts Made By: pnirmala
3,816
Posted By pnirmala
thanks a lot ahamed:)i got the correct one.:)
thanks a lot ahamed:)i got the correct one.:)
3,816
Posted By pnirmala
printf before execl system call
main()
{
printf("before execl");
execl("/home/nirmala/os/fact","fact");
printf("this line will not be printed");
}


for the above program ,the obj file of fact.c is getting loaded...
Forum: Programming 12-26-2010
2,642
Posted By pnirmala
Thanks a lot anurag. ---------- Post updated...
Thanks a lot anurag.

---------- Post updated at 07:02 AM ---------- Previous update was at 07:01 AM ----------

Thanks a lot corona.
2,258
Posted By pnirmala
fork system call and \n
hi,

i tried the following source codes:

fork1.c:
main()
{
printf("demo of fork\n");
fork();
printf("hello");
}

output:
demo of fork
hello hello

fork2.c:
main()
{...
Forum: Programming 12-24-2010
2,642
Posted By pnirmala
Problem with execution of fork system call if i use \n
hi all,

i tried the following source codes:
fork1.c:

main()
{
printf("demo of fork\n");
fork();
printf("hello");
}

output:

demo of fork
hello hello

fork2.c:

main()
Showing results 1 to 5 of 5

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