Luna/libc/include/sys/wait.h
apio e76ccd6c4c
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc+init: Add getppid() and wait()
2023-03-24 17:39:55 +01:00

25 lines
386 B
C

/* sys/wait.h: Functions for waiting. */
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include <bits/waitpid.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* Wait for a child process to exit. */
pid_t waitpid(pid_t pid, int* status, int options);
/* Wait for any child process to exit. */
pid_t wait(int* status);
#ifdef __cplusplus
}
#endif
#endif