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

#ifndef __TDF_SVID3_UNISTD_H
#define __TDF_SVID3_UNISTD_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__unistd begin

#ifndef __TDF_POSIX_UNISTD_H_U_PROTO
#pragma extend interface "../shared/posix.api/u_proto.h"
#endif /* __TDF_POSIX_UNISTD_H_U_PROTO */
#ifndef __TDF_SVID3_UNISTD_H_U_OLD
#pragma extend interface "../shared/svid3.api/u_old.h"
#endif /* __TDF_SVID3_UNISTD_H_U_OLD */
#ifndef __TDF_XPG3_UNISTD_H_U_PLUS
#pragma extend interface "../shared/xpg3.api/u_plus.h"
#endif /* __TDF_XPG3_UNISTD_H_U_PLUS */
#pragma token FUNC void (char *, char *, int) : swab # svid3.unistd.swab
#if 0
#pragma token EXP const : int : _POSIX_CHOWN_RESTRICTED # svid3.unistd._POSIX_CHOWN_RESTRICTED
#pragma token EXP const : int : _POSIX_NO_TRUNC # svid3.unistd._POSIX_NO_TRUNC
#pragma token EXP const : int : _POSIX_VDISABLE # svid3.unistd._POSIX_VDISABLE
#endif /* 0 */
#pragma token EXP const : int : _SC_PAGESIZE # svid3.unistd._SC_PAGESIZE
/* I had missed these */
#pragma token FUNC int (int, int, long) : lockf # svid3.unistd.lockf
#pragma token EXP const : int : F_ULOCK # svid3.unistd.F_ULOCK
#pragma token EXP const : int : F_LOCK # svid3.unistd.F_LOCK
#pragma token EXP const : int : F_TLOCK # svid3.unistd.F_TLOCK
#pragma token EXP const : int : F_TEST # svid3.unistd.F_TEST
/* These don't really belong anywhere */
#pragma token FUNC int (int, const char *) : fattach # svid3.unistd.fattach
#pragma token FUNC int (int) : fchdir # svid3.unistd.fchdir
#pragma token FUNC int (int, uid_t, gid_t) : fchown # svid3.unistd.fchown
#pragma token FUNC int (const char *) : fdetach # svid3.unistd.fdetach
#pragma token FUNC pid_t (pid_t) : getpgid # svid3.unistd.getpgid
#pragma token FUNC pid_t (pid_t) : getsid # svid3.unistd.getsid
#pragma token FUNC char * (char *, char *) : gettxt # svid3.unistd.gettxt
#pragma token FUNC int (const char *, uid_t, gid_t) : lchown # svid3.unistd.lchown
#pragma token FUNC int (int, pid_t, int, int) : ptrace # svid3.unistd.ptrace
#pragma token FUNC int (const char *, char *, int) : readlink # svid3.unistd.readlink
#pragma token FUNC int (const time_t *) : stime # svid3.unistd.stime
#pragma token FUNC int (const char *, const char *) : symlink # svid3.unistd.symlink
#pragma token FUNC void (void) : sync # svid3.unistd.sync
#pragma token FUNC int (int, const gid_t *) : setgroups # svid3.unistd.setgroups

#pragma interface swab
#if 0
#pragma interface _POSIX_CHOWN_RESTRICTED _POSIX_NO_TRUNC _POSIX_VDISABLE
#endif /* 0 */
#pragma interface _SC_PAGESIZE lockf F_ULOCK F_LOCK F_TLOCK F_TEST fattach
#pragma interface fchdir fchown fdetach getpgid getsid gettxt lchown ptrace
#pragma interface readlink stime symlink sync setgroups

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_UNISTD_H */
