![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| c system call | rangaswamy | High Level Programming | 1 | 02-19-2008 10:53 AM |
| how to differentiate system call from library call | muru | UNIX for Advanced & Expert Users | 2 | 07-19-2007 08:20 PM |
| any system call in unix to access ip routing table | vinodkumar | IP Networking | 1 | 04-21-2005 08:56 AM |
| sigwait system call in UNIX signal | md7ahuja | High Level Programming | 1 | 04-26-2004 02:17 AM |
| Why process leader can not call setsid() | chenhao_no1 | High Level Programming | 2 | 10-08-2002 07:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hell Sir,
This is chanikya Is there any System call which behaves just like fork but i dont want to return back two times to the calling func. In the following ex iam creating a child process in the called func but the ex prints two times IN MAIN. ex :- calling() { fork(); } main() { calling(); printf("IN MAIN\n"); } |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I think you are looking for one of the exec calls like execlp();
try man execlp |
|
#3
|
|||
|
|||
|
Please read the:
Simple rules of the UNIX.COM forums: Don't double posts questions, continue here: how to create a process Thread closed. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|