/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: posix:unistd.h:u_proto
*/

#ifndef __TDF_POSIX_UNISTD_H_U_PROTO
#define __TDF_POSIX_UNISTD_H_U_PROTO

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block subset__posix__unistd begin

#ifndef __TDF_POSIX_SYS_TYPES_H
#pragma extend interface "../../posix.api/sys/types.h"
#endif /* __TDF_POSIX_SYS_TYPES_H */
#ifndef __TDF_POSIX_SYS_STAT_H
#pragma extend interface "../../posix.api/sys/stat.h"
#endif /* __TDF_POSIX_SYS_STAT_H */
#pragma extend interface "../../shared/ansi.api/null.h"
#ifndef __TDF_ANSI_STDLIB_H_BOTTOM
#pragma extend interface "../../shared/ansi.api/bottom.h"
#endif /* __TDF_ANSI_STDLIB_H_BOTTOM */
#ifndef __TDF_ANSI_STDIO_H_RENAME
#pragma extend interface "../../shared/ansi.api/rename.h"
#endif /* __TDF_ANSI_STDIO_H_RENAME */
#ifndef __TDF_ANSI_STDIO_H_SEEK_CONSTS
#pragma extend interface "../../shared/ansi.api/seek_con.h"
#endif /* __TDF_ANSI_STDIO_H_SEEK_CONSTS */
#ifndef _POSIX_VERSION
#define _POSIX_VERSION 198808L
#endif /* _POSIX_VERSION */
#pragma token EXP const : int : R_OK # posix.unistd.R_OK
#pragma token EXP const : int : W_OK # posix.unistd.W_OK
#pragma token EXP const : int : X_OK # posix.unistd.X_OK
#pragma token EXP const : int : F_OK # posix.unistd.F_OK
#pragma token EXP const : int : _POSIX_JOB_CONTROL # posix.unistd._POSIX_JOB_CONTROL
#pragma token EXP const : int : _POSIX_SAVED_IDS # posix.unistd._POSIX_SAVED_IDS
#pragma token EXP const : int : _SC_ARG_MAX # posix.unistd._SC_ARG_MAX
#pragma token EXP const : int : _SC_CHILD_MAX # posix.unistd._SC_CHILD_MAX
#pragma token EXP const : int : _SC_CLK_TCK # posix.unistd._SC_CLK_TCK
#pragma token EXP const : int : _SC_JOB_CONTROL # posix.unistd._SC_JOB_CONTROL
#pragma token EXP const : int : _SC_NGROUPS_MAX # posix.unistd._SC_NGROUPS_MAX
#pragma token EXP const : int : _SC_OPEN_MAX # posix.unistd._SC_OPEN_MAX
#pragma token EXP const : int : _SC_SAVED_IDS # posix.unistd._SC_SAVED_IDS
#pragma token EXP const : int : _SC_VERSION # posix.unistd._SC_VERSION
#pragma token EXP const : int : _PC_CHOWN_RESTRICTED # posix.unistd._PC_CHOWN_RESTRICTED
#pragma token EXP const : int : _PC_LINK_MAX # posix.unistd._PC_LINK_MAX
#pragma token EXP const : int : _PC_MAX_CANON # posix.unistd._PC_MAX_CANON
#pragma token EXP const : int : _PC_MAX_INPUT # posix.unistd._PC_MAX_INPUT
#pragma token EXP const : int : _PC_NAME_MAX # posix.unistd._PC_NAME_MAX
#pragma token EXP const : int : _PC_NO_TRUNC # posix.unistd._PC_NO_TRUNC
#pragma token EXP const : int : _PC_PATH_MAX # posix.unistd._PC_PATH_MAX
#pragma token EXP const : int : _PC_PIPE_BUF # posix.unistd._PC_PIPE_BUF
#pragma token EXP const : int : _PC_VDISABLE # posix.unistd._PC_VDISABLE
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
extern char **environ;
#pragma token FUNC __local_bottom (int) : _exit # posix.unistd._exit
#pragma token FUNC int (const char *, int) : access # posix.unistd.access
#pragma token FUNC unsigned int (unsigned int) : alarm # posix.unistd.alarm
#pragma token FUNC int (const char *) : chdir # posix.unistd.chdir
#pragma token FUNC int (int) : close # posix.unistd.close
#pragma token FUNC int (int) : dup # posix.unistd.dup
#pragma token FUNC int (int, int) : dup2 # posix.unistd.dup2
#pragma token FUNC int (const char *, const char *, ...) : execl # posix.unistd.execl
#pragma token FUNC int (const char *, const char *, ...) : execle # posix.unistd.execle
#pragma token FUNC int (const char *, const char *, ...) : execlp # posix.unistd.execlp
#pragma token FUNC int (const char *, char * const []) : execv # posix.unistd.execv
#pragma token FUNC int (const char *, char * const [], char * const []) : execve # posix.unistd.execve
#pragma token FUNC int (const char *, char * const []) : execvp # posix.unistd.execvp
#pragma token FUNC pid_t (void) : fork # posix.unistd.fork
#pragma token FUNC long (int, int) : fpathconf # posix.unistd.fpathconf
#pragma token FUNC gid_t (void) : getegid # posix.unistd.getegid
#pragma token FUNC uid_t (void) : geteuid # posix.unistd.geteuid
#pragma token FUNC gid_t (void) : getgid # posix.unistd.getgid
#pragma token FUNC int (int, gid_t []) : getgroups # posix.unistd.getgroups
#pragma token FUNC char * (void) : getlogin # posix.unistd.getlogin
#pragma token FUNC pid_t (void) : getpgrp # posix.unistd.getpgrp
#pragma token FUNC pid_t (void) : getpid # posix.unistd.getpid
#pragma token FUNC pid_t (void) : getppid # posix.unistd.getppid
#pragma token FUNC uid_t (void) : getuid # posix.unistd.getuid
#pragma token FUNC int (int) : isatty # posix.unistd.isatty
#pragma token FUNC int (const char *, const char *) : link # posix.unistd.link
#pragma token FUNC off_t (int, off_t, int) : lseek # posix.unistd.lseek
#pragma token FUNC long (const char *, int) : pathconf # posix.unistd.pathconf
#pragma token FUNC int (void) : pause # posix.unistd.pause
#pragma token FUNC int (int [2]) : pipe # posix.unistd.pipe
#pragma token FUNC int (const char *) : rmdir # posix.unistd.rmdir
#pragma token FUNC pid_t (void) : setsid # posix.unistd.setsid
#pragma token FUNC unsigned int (unsigned int) : sleep # posix.unistd.sleep
#pragma token FUNC long (int) : sysconf # posix.unistd.sysconf
#pragma token FUNC char * (int) : ttyname # posix.unistd.ttyname
#pragma token FUNC int (const char *) : unlink # posix.unistd.unlink
#pragma token FUNC int (const char *, uid_t, gid_t) : chown # posix.unistd.chown
#pragma token FUNC int (gid_t) : setgid # posix.unistd.setgid
#pragma token FUNC int (pid_t, pid_t) : setpgid # posix.unistd.setpgid
#pragma token FUNC int (uid_t) : setuid # posix.unistd.setuid

#pragma interface R_OK W_OK X_OK F_OK _POSIX_JOB_CONTROL _POSIX_SAVED_IDS
#pragma interface _SC_ARG_MAX _SC_CHILD_MAX _SC_CLK_TCK _SC_JOB_CONTROL
#pragma interface _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_SAVED_IDS _SC_VERSION
#pragma interface _PC_CHOWN_RESTRICTED _PC_LINK_MAX _PC_MAX_CANON
#pragma interface _PC_MAX_INPUT _PC_NAME_MAX _PC_NO_TRUNC _PC_PATH_MAX
#pragma interface _PC_PIPE_BUF _PC_VDISABLE _exit access alarm chdir close
#pragma interface dup dup2 execv execve execvp fork fpathconf getegid
#pragma interface geteuid getgid getgroups getlogin getpgrp getpid getppid
#pragma interface getuid isatty link lseek pathconf pause pipe rmdir setsid
#pragma interface sleep sysconf ttyname unlink chown setgid setpgid setuid

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_POSIX_UNISTD_H_U_PROTO */
