Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

File Open Flags/Routines
[File I/O Handling Functions]


Defines

#define APR_READ   0x00001 /**< Open the file for reading */
#define APR_WRITE   0x00002 /**< Open the file for writing */
#define APR_CREATE   0x00004 /**< Create the file if not there */
#define APR_APPEND   0x00008 /**< Append to the end of the file */
#define APR_TRUNCATE   0x00010 /**< Open the file and truncate to 0 length */
#define APR_BINARY   0x00020 /**< Open the file in binary mode */
#define APR_EXCL
#define APR_BUFFERED   0x00080 /**< Open the file for buffered I/O */
#define APR_DELONCLOSE   0x00100 /**< Delete the file after close */
#define APR_XTHREAD
#define APR_SHARELOCK
#define APR_FILE_NOCLEANUP
#define APR_SENDFILE_ENABLED
#define APR_LARGEFILE

Define Documentation

#define APR_APPEND   0x00008 /**< Append to the end of the file */
 

Append to the end of the file

#define APR_BINARY   0x00020 /**< Open the file in binary mode */
 

Open the file in binary mode

#define APR_BUFFERED   0x00080 /**< Open the file for buffered I/O */
 

Open the file for buffered I/O

#define APR_CREATE   0x00004 /**< Create the file if not there */
 

Create the file if not there

#define APR_DELONCLOSE   0x00100 /**< Delete the file after close */
 

Delete the file after close

#define APR_EXCL
 

Value:

0x00040 /**< Open should fail if APR_CREATE and file exists. */
Open should fail if APR_CREATE and file exists.

#define APR_FILE_NOCLEANUP
 

Value:

0x00800 /**< Do not register a cleanup when the file is opened */
Do not register a cleanup when the file is opened

#define APR_LARGEFILE
 

Value:

0x04000 /**< Platform dependent flag to enable large file support; WARNING see below. */
Platform dependent flag to enable large file support; WARNING see below.

#define APR_READ   0x00001 /**< Open the file for reading */
 

Open the file for reading

#define APR_SENDFILE_ENABLED
 

Value:

0x01000 /**< Advisory flag that this file should support apr_socket_sendfile operation */
Advisory flag that this file should support apr_socket_sendfile operation

#define APR_SHARELOCK
 

Value:

0x00400 /**< Platform dependent support for higher level locked read/write access to support writes across process/machines */
Platform dependent support for higher level locked read/write access to support writes across process/machines

#define APR_TRUNCATE   0x00010 /**< Open the file and truncate to 0 length */
 

Open the file and truncate to 0 length

#define APR_WRITE   0x00002 /**< Open the file for writing */
 

Open the file for writing

#define APR_XTHREAD
 

Value:

0x00200 /**< Platform dependent tag to open the file for use across multiple threads */
Platform dependent tag to open the file for use across multiple threads


Generated on Thu Sep 16 13:47:10 2004 for Apache Portable Runtime by doxygen 1.3.7