io.h

00001 /*  wcecompat: Windows CE C Runtime Library "compatibility" library.
00002  *
00003  *  Copyright (C) 2001-2002 Essemer Pty Ltd.  All rights reserved.
00004  *  http://www.essemer.com.au/
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Lesser General Public
00008  *  License as published by the Free Software Foundation; either
00009  *  version 2.1 of the License, or (at your option) any later version.
00010  *
00011  *  This library is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  *  Lesser General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU Lesser General Public
00017  *  License along with this library; if not, write to the Free Software
00018  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 
00022 #ifndef __wcecompat__IO_H__
00023 #define __wcecompat__IO_H__
00024 
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 
00031 int __cdecl _access(const char *pathname, int mode);
00032 int __cdecl _open(const char* filename, int flags, int mode);
00033 int __cdecl _wopen(const unsigned short* filename, int flags, int mode);
00034 int __cdecl _close(int fd);
00035 long __cdecl _lseek(int fd, long offset, int whence);
00036 int __cdecl _read(int fd, void *buffer, unsigned int count);
00037 int __cdecl _write(int fd, const void *buffer, unsigned int count);
00038 int __cdecl _unlink(const char *pathname);
00039 #define access _access
00040 #define open _open
00041 #define wopen _wopen
00042 #define close _close
00043 #define lseek _lseek
00044 #define read _read
00045 #define write _write
00046 #define unlink _unlink
00047 
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 
00053 
00054 #endif // __wcecompat__IO_H__

Generated on Mon Jun 5 10:20:48 2006 for Intelligence.kdevelop by  doxygen 1.4.6