www.delorie.com/djgpp/doc/libc-2.01/libc_678.html   search  
Go to the first, previous, next, last section, table of contents.


waitpid

Syntax

#include <sys/wait.h>

pid_t pid = waitpid((pid_t pid, int *status, int options);

Description

Currently, this function always fails. A -1 is returned and errno is set to indicate there are no children.

Return Value

If successful, this function returns the exit status of the child. If there is an error, these functions return -1 and set errno to indicate the error type.

Bugs

Currently, this function always fails.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997