/* * unistd.h * * ========================================================================= * * Open Watcom Project * * Copyright (c) 2002-2010 Open Watcom Contributors. All Rights Reserved. * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * This file is automatically generated. Do not edit directly. * * ========================================================================= */ #ifndef _UNISTD_H_INCLUDED #define _UNISTD_H_INCLUDED #ifndef _ENABLE_AUTODEPEND #pragma read_only_file; #endif #ifndef _COMDEF_H_INCLUDED #include <_comdef.h> #endif #ifndef _IO_H_INCLUDED #include #endif #ifdef __cplusplus extern "C" { #endif #if defined(__OS2__) && defined(__386__) && defined(__TCPIP_HEADERS) #include /* unistd.h conflicts with OS/2 TCP/IP headers */ #endif #ifndef __cplusplus #ifndef _WCHAR_T_DEFINED #define _WCHAR_T_DEFINED #define _WCHAR_T_DEFINED_ typedef unsigned short wchar_t; #endif #endif _WCRTLINK extern int fsync( int __filedes ); _WCRTLINK extern int getopt( int __argc, char * const __argv[], const char *__optstring ); _WCRTLINK extern unsigned int sleep( unsigned int __seconds ); /* Globals used and set by getopt() */ _WCRTDATA extern char *optarg; _WCRTDATA extern int optind; _WCRTDATA extern int opterr; _WCRTDATA extern int optopt; #ifdef __cplusplus } /* extern "C" */ #endif #endif