Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mbkwaitpid(3) [debian man page]

MBKWAITPID(3)						       MBK UTILITY FUNCTIONS						     MBKWAITPID(3)

NAME
mbkwaitpid - wait for the end of a particular child process. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mut.h" int mbkwaitpid( pid, mode, status ) int pid; int mode; int *status; PARAMETER
pid Process number to wait. mode If mode is set to 1, this function return only when the child process is terminated. Otherwise, function return immedi- atly. status If not NULL, the exit status of terminated child process. DESCRIPTION
mbkwaitpid provides a centralized way to catch terminated child process. Because some Alliance library can create a child process, and user application can do so, there must be a centralized way to get the exit status of process. The programmer should never modify the han- dler for SIGCHLD. RETURN VALUE
mbkwaitpid return 1 if child process is terminated, and 0 if isn't (case mode != 1 ). SEE ALSO
mbk(1), mbksetautoackchld(). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 November 20, 2000 MBKWAITPID(3)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

Need help with SIGCHLD

Hello everybody, this is my first post on this forum. I have a program that has a child process that sleeps for 5 second and exit. I'm suppose to modify this program so that when the child exits, the parent reports the exit status of the child, so I also have to deal with SIGINT and SIGQUIT. Can... (1 Reply)
Discussion started by: Unlimited Sky
1 Replies

2. UNIX for Dummies Questions & Answers

PID - Getting the processname of terminated/old Process

Hi all! I'm using CentOS 5.2 with KDE. Is it possible to get a processname/cmd of a terminated process (= PID not present with PS-command) ? Are the processnames/scriptnames logged somewhere? (I did not find them in /var/log/messages) (5 Replies)
Discussion started by: JohnMurdoch
5 Replies

3. UNIX for Dummies Questions & Answers

centralized unix user management

Does it exist centralized tools on unix for managing users of all servers (like windows AD) ? (1 Reply)
Discussion started by: astjen
1 Replies

4. UNIX for Advanced & Expert Users

Multiple Instance Of Same Process

Hi Everyone, I am using solaris 5.10. I have a java process running in server mode in unix. The problem is that it automatically forks i.e creates a child process. I mean suddenly two instances of that process start running , in which the process-id of first instance is the parent... (5 Replies)
Discussion started by: glamo_2312
5 Replies

5. UNIX for Beginners Questions & Answers

Sorting failing cause not known

Hi All, Below is the message I am getting and the process is failing after the child process. The exit status is 11 and the job it is doing is sorting. Is it the status 11 is because of space unavailability. I am sure about the status 11. Below is the success message I got last on... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies