pspiofilemgr_fcntl.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspiofilemgr_fcntl.h - File control definitions.
00007  *
00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
00011  *
00012  * $Id: pspiofilemgr_fcntl.h 559 2005-07-09 08:47:52Z mrbrown $
00013  */
00014 #ifndef PSPIOFILEMGR_FCNTL_H
00015 #define PSPIOFILEMGR_FCNTL_H
00016 
00017 /* Note: Not all of these sceIoOpen() flags are not compatible with the
00018    open() flags found in sys/unistd.h. */
00019 #define PSP_O_RDONLY    0x0001
00020 #define PSP_O_WRONLY    0x0002
00021 #define PSP_O_RDWR      (PSP_O_RDONLY | PSP_O_WRONLY)
00022 #define PSP_O_NBLOCK    0x0004
00023 #define PSP_O_DIROPEN   0x0008  // Internal use for dopen
00024 #define PSP_O_APPEND    0x0100
00025 #define PSP_O_CREAT     0x0200
00026 #define PSP_O_TRUNC     0x0400
00027 #define PSP_O_EXCL      0x0800
00028 #define PSP_O_NOWAIT    0x8000
00029 
00030 #define PSP_SEEK_SET    0
00031 #define PSP_SEEK_CUR    1
00032 #define PSP_SEEK_END    2
00033 
00034 #endif /* PSPIOFILEMGR_FCNTL_H */

Generated on Tue Jul 24 15:21:23 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2