/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: posix:sys/wait.h (VERSION 2.6)
*/

#ifndef __TDF_POSIX_SYS_WAIT_H
#define __TDF_POSIX_SYS_WAIT_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__posix__sys_wait begin

#ifndef __TDF_POSIX_SYS_TYPES_H
#pragma extend interface "../../posix.api/sys/types.h"
#endif /* __TDF_POSIX_SYS_TYPES_H */
#pragma token EXP const : int : WNOHANG # posix.wait.WNOHANG
#pragma token EXP const : int : WUNTRACED # posix.wait.WUNTRACED
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WEXITSTATUS # posix.wait.WEXITSTATUS
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WIFEXITED # posix.wait.WIFEXITED
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WIFSIGNALED # posix.wait.WIFSIGNALED
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WIFSTOPPED # posix.wait.WIFSTOPPED
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WSTOPSIG # posix.wait.WSTOPSIG
#pragma token PROC (EXP lvalue : int : ) EXP rvalue : int : WTERMSIG # posix.wait.WTERMSIG
#pragma token FUNC pid_t (int *) : wait # posix.wait.wait
#pragma token FUNC pid_t (pid_t, int *, int) : waitpid # posix.wait.waitpid

#pragma interface WNOHANG WUNTRACED WEXITSTATUS WIFEXITED WIFSIGNALED
#pragma interface WIFSTOPPED WSTOPSIG WTERMSIG wait waitpid

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_POSIX_SYS_WAIT_H */
