GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MBKWAITPID(3) MBK UTILITY FUNCTIONS MBKWAITPID(3)

mbkwaitpid - wait for the end of a particular child process.

See the file man1/alc_origin.1.

#include "mut.h"
int mbkwaitpid( pid, mode, status )
int pid;
int mode;
int ∗status;

Process number to wait.
If mode is set to 1, this function return only when the child process is terminated. Otherwise, function return immediately.
If not NULL, the exit status of terminated child process.

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 handler for SIGCHLD.

mbkwaitpid return 1 if child process is terminated, and 0 if isn't (case mode != 1 ).

mbk(1), mbksetautoackchld().

See the file man1/alc_bug_report.1.

November 20, 2000 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.