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 kwaitpid (int *stat_loc, pid_t pid, int options, struct rusage *ru_loc, siginfo_t *infop)
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 33 of file wait3.c.

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

Here is the call graph for this function:

pid_t kwaitpid ( int stat_loc,
pid_t  pid,
int  options,
struct rusage ru_loc,
siginfo_t *  infop 

Here is the caller graph for this function: