Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2004, 08:56 PM   #16
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48

Okay, I will try to answer some of these... to the best of my knowledge:

1. `man getppid` getppid() -- returns the parent's PID
2. `man 2 sigaction` This one is pretty detailed, read through the whole man page so you know what is going on.
3. `man 2 pipe` Yep there is a funtion to do that. Otherwise you can do it manually by setting the ouput of the parent as the input of the child -- not sure how well this works. All file handlers are inheritied.
4. Question number 4 is best answered by `man 3 exec` but for the most part:
execv("command","arg1","agr2" ... ).

If you haven't noticed the man pages are very useful if you know what to look for. try `man -k keyword` and you will probably get the right answer. To verify mine that is what I did using only words found in your questions just to see if they would turn up the right answers -- they did.

Also, you might want to move questions like this to the programming forum where they belong. These aren't really newbie type problems. Just for the future.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UNIX (Linux, BSD, etc) Programming :: UNIX kuphryn Programming 8 04-05-2004 12:50 AM
Beginning a big project - Need an Good Project Manager gamehack Programming 3 01-15-2004 12:49 PM
Why did you experienced users of Unix change to unix over Windows? Laptop2250 Linux - General 11 10-28-2003 12:51 PM
Cannot see Open GL project in KDevelop project wizard SparceMatrix Programming 2 08-08-2002 12:14 AM
How to schedule unix script periodically from unix os level??? gopi_20us Programming 2 03-11-2002 07:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration