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


Defines

#define APR_READ   0x00001
#define APR_WRITE   0x00002
#define APR_CREATE   0x00004
#define APR_APPEND   0x00008
#define APR_TRUNCATE   0x00010
#define APR_BINARY   0x00020
#define APR_EXCL   0x00040
#define APR_BUFFERED   0x00080
#define APR_DELONCLOSE   0x00100
#define APR_XTHREAD   0x00200
#define APR_SHARELOCK   0x00400
#define APR_FILE_NOCLEANUP   0x00800
#define APR_SENDFILE_ENABLED   0x01000
#define APR_LARGEFILE   0x04000

Define Documentation

#define APR_APPEND   0x00008

Append to the end of the file

#define APR_BINARY   0x00020

Open the file in binary mode

#define APR_BUFFERED   0x00080

Open the file for buffered I/O

#define APR_CREATE   0x00004

Create the file if not there

#define APR_DELONCLOSE   0x00100

Delete the file after close

#define APR_EXCL   0x00040

Open should fail if APR_CREATE and file exists.

#define APR_FILE_NOCLEANUP   0x00800

Do not register a cleanup when the file is opened

#define APR_LARGEFILE   0x04000

Platform dependent flag to enable large file support; WARNING see below.

#define APR_READ   0x00001

Open the file for reading

#define APR_SENDFILE_ENABLED   0x01000

Advisory flag that this file should support apr_sendfile operation

#define APR_SHARELOCK   0x00400

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

#define APR_WRITE   0x00002

Open the file for writing

#define APR_XTHREAD   0x00200

Platform dependent tag to open the file for use across multiple threads


Generated on Mon Nov 26 11:47:27 2007 for Apache Portable Runtime by  doxygen 1.5.2