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__FCNTL_H__ 00023 #define __wcecompat__FCNTL_H__ 00024 00025 00026 #define _O_RDONLY 0x0000 00027 #define _O_WRONLY 0x0001 00028 #define _O_RDWR 0x0002 00029 #define _O_APPEND 0x0008 00030 #define _O_CREAT 0x0100 00031 #define _O_TRUNC 0x0200 00032 #define _O_EXCL 0x0400 00033 #define _O_TEXT 0x4000 00034 #define _O_BINARY 0x8000 00035 00036 #define O_RDONLY _O_RDONLY 00037 #define O_WRONLY _O_WRONLY 00038 #define O_RDWR _O_RDWR 00039 #define O_APPEND _O_APPEND 00040 #define O_CREAT _O_CREAT 00041 #define O_TRUNC _O_TRUNC 00042 #define O_EXCL _O_EXCL 00043 #define O_TEXT _O_TEXT 00044 #define O_BINARY _O_BINARY 00045 00046 00047 #endif // __wcecompat__FCNTL_H__