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

#ifndef __TDF_POSIX_UNISTD_H_U_OLD
#define __TDF_POSIX_UNISTD_H_U_OLD

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block subset__posix__unistd begin

#ifndef __BUILDING_LIBS
#pragma token FUNC char * (char *, int) : getcwd # posix.unistd.getcwd
#pragma token FUNC int (int, char *, unsigned int) : read # posix.unistd.read
#pragma token FUNC int (int, char *, unsigned int) : write # posix.unistd.write
#else /* __BUILDING_LIBS */
#pragma token FUNC char * (char *, int) : __old_getcwd # posix.unistd.getcwd
#pragma token FUNC int (int, char *, unsigned int) : __old_read # posix.unistd.read
#pragma token FUNC int (int, char *, unsigned int) : __old_write # posix.unistd.write
#endif /* __BUILDING_LIBS */

#ifndef __BUILDING_LIBS
#pragma interface getcwd read write
#else /* __BUILDING_LIBS */
#pragma interface __old_getcwd __old_read __old_write
#endif /* __BUILDING_LIBS */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_POSIX_UNISTD_H_U_OLD */
