/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:unistd.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_UNISTD_H
#define __TDF_UNIX95_UNISTD_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__unistd begin

#ifndef __TDF_XPG4_UNISTD_H
#pragma extend interface "../xpg4.api/unistd.h"
#endif /* __TDF_XPG4_UNISTD_H */
#pragma extend interface "../shared/ansi.api/null.h"
#ifndef __TDF_ANSI_STDIO_H_SEEK_CONSTS
#pragma extend interface "../shared/ansi.api/seek_con.h"
#endif /* __TDF_ANSI_STDIO_H_SEEK_CONSTS */
#pragma token EXP const : int : _SC_ATEXIT_MAX # unix95.unistd._SC_ATEXIT_MAX
#pragma token EXP const : int : _SC_PAGESIZE # unix95.unistd._SC_PAGESIZE
#pragma token EXP const : int : _SC_PAGE_SIZE # unix95.unistd._SC_PAGE_SIZE
#pragma token EXP const : int : _SC_IOV_MAX # unix95.unistd._SC_IOV_MAX
#pragma token EXP const : int : _SC_XOPEN_UNIX # unix95.unistd._SC_XOPEN_UNIX
#pragma token EXP const : int : F_ULOCK # unix95.unistd.F_ULOCK
#pragma token EXP const : int : F_LOCK # unix95.unistd.F_LOCK
#pragma token EXP const : int : F_TLOCK # unix95.unistd.F_TLOCK
#pragma token EXP const : int : F_TEST # unix95.unistd.F_TEST
#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#ifndef __TDF_POSIX1_SYS_TYPES_H_SSIZE_T
#pragma extend interface "../shared/posix1.api/ssize_t.h"
#endif /* __TDF_POSIX1_SYS_TYPES_H_SSIZE_T */
#ifndef __TDF_POSIX_SYS_TYPES_H_GUID
#pragma extend interface "../shared/posix.api/guid.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_GUID */
#ifndef __TDF_POSIX_SYS_TYPES_H_OFF_T
#pragma extend interface "../shared/posix.api/off_t.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_OFF_T */
#ifndef __TDF_POSIX_SYS_TYPES_H_PID_T
#pragma extend interface "../shared/posix.api/pid_t.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_PID_T */
#ifndef __TDF_UNIX95_SYS_TYPES_H_USECONDS_T
#pragma extend interface "../shared/unix95.api/useconds.h"
#endif /* __TDF_UNIX95_SYS_TYPES_H_USECONDS_T */
#ifndef __TDF_XPG4_STDIO_H_OPTOPT
#pragma extend interface "../shared/xpg4.api/optopt.h"
#endif /* __TDF_XPG4_STDIO_H_OPTOPT */
#pragma token FUNC int (void *) : brk # unix95.unistd.brk
#pragma token FUNC int (int, uid_t, gid_t) : fchown # unix95.unistd.fchown
#pragma token FUNC int (int) : fchdir # unix95.unistd.fchdir
#pragma token FUNC int (int, off_t) : ftruncate # unix95.unistd.ftruncate
#pragma token FUNC int (void) : getdtablesize # unix95.unistd.getdtablesize
#pragma token FUNC long (void) : gethostid # unix95.unistd.gethostid
#pragma token FUNC int (void) : getpagesize # unix95.unistd.getpagesize
#pragma token FUNC pid_t (pid_t) : getpgid # unix95.unistd.getpgid
#pragma token FUNC pid_t (pid_t) : getsid # unix95.unistd.getsid
#pragma token FUNC char * (char *) : getwd # unix95.unistd.getwd
#pragma token FUNC int (const char *, uid_t, gid_t) : lchown # unix95.unistd.lchown
#pragma token FUNC int (int, int, off_t) : lockf # unix95.unistd.lockf
#pragma token FUNC int (const char *, char *, size_t) : readlink # unix95.unistd.readlink
#pragma token FUNC void * (int) : sbrk # unix95.unistd.sbrk
#pragma token FUNC pid_t (void) : setpgrp # unix95.unistd.setpgrp
#pragma token FUNC int (gid_t, gid_t) : setregid # unix95.unistd.setregid
#pragma token FUNC int (uid_t, uid_t) : setreuid # unix95.unistd.setreuid
#pragma token FUNC int (const char *, const char *) : symlink # unix95.unistd.symlink
#pragma token FUNC void (void) : sync # unix95.unistd.sync
#pragma token FUNC int (const char *, off_t) : truncate # unix95.unistd.truncate
#pragma token FUNC useconds_t (useconds_t, useconds_t) : ualarm # unix95.unistd.ualarm
#pragma token FUNC int (useconds_t) : usleep # unix95.unistd.usleep
#pragma token FUNC pid_t (void) : vfork # unix95.unistd.vfork
#pragma token FUNC int (char *, size_t) : gethostname # unix95.unistd.gethostname

#pragma interface _SC_ATEXIT_MAX _SC_PAGESIZE _SC_PAGE_SIZE _SC_IOV_MAX
#pragma interface _SC_XOPEN_UNIX F_ULOCK F_LOCK F_TLOCK F_TEST brk fchown
#pragma interface fchdir ftruncate getdtablesize gethostid getpagesize
#pragma interface getpgid getsid getwd lchown lockf readlink sbrk setpgrp
#pragma interface setregid setreuid symlink sync truncate ualarm usleep
#pragma interface vfork gethostname

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_UNISTD_H */
