Back to index

glibc  2.9
wait3.c File Reference
#include <errno.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <stddef.h>

Go to the source code of this file.


pid_t __wait3 (__WAIT_STATUS stat_loc, int options, struct rusage *usage)

Function Documentation

pid_t __wait3 ( __WAIT_STATUS  stat_loc,
int  options,
struct rusage usage 

Definition at line 30 of file wait3.c.

  if (usage != NULL)
      __set_errno (ENOSYS);
      return (pid_t) -1;
  return __waitpid (WAIT_ANY, stat_loc.__iptr, options);

Here is the call graph for this function: