Synesis Software

Main Page   Compound List   File List   Compound Members   File Members  

/freelibs/unixem/include/unistd.h

Go to the documentation of this file.
00001 /* 
00002  * File:        unistd.h
00003  *
00004  * Purpose:     Declaration of the .
00005  *
00006  * Created      1st November 2003
00007  * Updated:     3rd November 2003
00008  *
00009  * Author:      Matthew Wilson, Synesis Software Pty Ltd.
00010  *
00011  * License:     (Licensed under the Synesis Software Standard Source License)
00012  *
00013  *              Copyright (C) 2002, Synesis Software Pty Ltd.
00014  *
00015  *              All rights reserved.
00016  *
00017  *              www:        http://www.synesis.com.au/
00018  *                          http://www.synesis.com.au/software/
00019  *
00020  *              email:      software@synesis.com.au
00021  *                          software@synesis-group.com
00022  *
00023  *              Redistribution and use in source and binary forms, with or
00024  *              without modification, are permitted provided that the following
00025  *              conditions are met:
00026  *
00027  *              (i) Redistributions of source code must retain the above
00028  *              copyright notice and contact information, this list of
00029  *              conditions and the following disclaimer.
00030  *
00031  *              (ii) Any derived versions of this software (howsoever modified)
00032  *              remain the sole property of Synesis Software.
00033  *
00034  *              (iii) Any derived versions of this software (howsoever modified)
00035  *              remain subject to all these conditions.
00036  *
00037  *              (iv) Neither the name of Synesis Software nor the names of any
00038  *              subdivisions, employees or agents of Synesis Software, nor the
00039  *              names of any other contributors to this software may be used to
00040  *              endorse or promote products derived from this software without
00041  *              specific prior written permission.
00042  *
00043  *              This source code is provided by Synesis Software "as is" and any
00044  *              warranties, whether expressed or implied, including, but not
00045  *              limited to, the implied warranties of merchantability and
00046  *              fitness for a particular purpose are disclaimed. In no event
00047  *              shall the Synesis Software be liable for any direct, indirect,
00048  *              incidental, special, exemplary, or consequential damages
00049  *              (including, but not limited to, procurement of substitute goods
00050  *              or services; loss of use, data, or profits; or business
00051  *              interruption) however caused and on any theory of liability,
00052  *              whether in contract, strict liability, or tort (including
00053  *              negligence or otherwise) arising in any way out of the use of
00054  *              this software, even if advised of the possibility of such
00055  *              damage.
00056  *
00057  * 
00058 
00059 
00060 #ifndef _SYNSOFT_INCL_H_UNISTD
00061 #define _SYNSOFT_INCL_H_UNISTD
00062 
00063 #ifndef _SYNSOFT_DOCUMENTATION_SKIP_SECTION
00064 #define _SYNSOFT_VER_H_UNISTD_MAJOR       1
00065 #define _SYNSOFT_VER_H_UNISTD_MINOR       0
00066 #define _SYNSOFT_VER_H_UNISTD_REVISION    3
00067 #define _SYNSOFT_VER_H_UNISTD_EDIT        4
00068 #endif /* !_SYNSOFT_DOCUMENTATION_SKIP_SECTION */
00069 
00070 /* 
00071 
00072 #ifndef WIN32
00073 # error This file is only currently defined for Win32 compilation units
00074 #endif /* WIN32 */
00075 
00076 /* 
00077  * Constants and definitions
00078  */
00079 
00080 #ifndef PATH_MAX
00081 # define PATH_MAX   (260)   
00082 #endif /* !PATH_MAX */
00083 
00084 /* 
00085  * API functions
00086  */
00087 
00088 #ifdef __cplusplus
00089 extern "C" {
00090 #endif /* __cplusplus */
00091 
00100 int chdir(const char *dirName);
00101 
00111 char *getcwd(char *buffer, size_t max_len);
00112 
00113 #ifdef __cplusplus
00114 }
00115 #endif /* __cplusplus */
00116 
00117 /* 
00118 
00119 #endif /* _SYNSOFT_INCL_H_UNISTD */
00120 
00121 /* 

UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2001-2003