2001-03-06 05:29:24 +08:00
|
|
|
/* sys/wait.h
|
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
#ifndef _SYS_WAIT_H
|
|
|
|
#define _SYS_WAIT_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/resource.h>
|
2006-06-12 22:25:05 +08:00
|
|
|
#include <cygwin/wait.h>
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-08-25 02:57:47 +08:00
|
|
|
pid_t wait (int *__status);
|
|
|
|
pid_t waitpid (pid_t __pid, int *__status, int __options);
|
|
|
|
pid_t wait3 (int *__status, int __options, struct rusage *__rusage);
|
|
|
|
pid_t wait4 (pid_t __pid, int *__status, int __options, struct rusage *__rusage);
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2021-11-09 11:22:27 +08:00
|
|
|
#ifdef _LIBC
|
2019-09-03 18:45:55 +08:00
|
|
|
pid_t _wait (int *);
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
#ifdef __cplusplus
|
2011-10-07 00:02:37 +08:00
|
|
|
}
|
2000-02-18 03:38:33 +08:00
|
|
|
#endif
|
|
|
|
|
2011-10-07 00:02:37 +08:00
|
|
|
#endif /* _SYS_WAIT_H */
|