GME  13
Defines
File Open Flags/Routines
File I/O Handling Functions
Collaboration diagram for File Open Flags/Routines:

Defines

#define APR_FOPEN_READ   0x00001
#define APR_FOPEN_WRITE   0x00002
#define APR_FOPEN_CREATE   0x00004
#define APR_FOPEN_APPEND   0x00008
#define APR_FOPEN_TRUNCATE   0x00010
#define APR_FOPEN_BINARY   0x00020
#define APR_FOPEN_EXCL   0x00040
#define APR_FOPEN_BUFFERED   0x00080
#define APR_FOPEN_DELONCLOSE   0x00100
#define APR_FOPEN_XTHREAD   0x00200
#define APR_FOPEN_SHARELOCK   0x00400
#define APR_FOPEN_NOCLEANUP   0x00800
#define APR_FOPEN_SENDFILE_ENABLED   0x01000
#define APR_FOPEN_LARGEFILE   0x04000
#define APR_FOPEN_SPARSE   0x08000
#define APR_READ   APR_FOPEN_READ
#define APR_WRITE   APR_FOPEN_WRITE
#define APR_CREATE   APR_FOPEN_CREATE
#define APR_APPEND   APR_FOPEN_APPEND
#define APR_TRUNCATE   APR_FOPEN_TRUNCATE
#define APR_BINARY   APR_FOPEN_BINARY
#define APR_EXCL   APR_FOPEN_EXCL
#define APR_BUFFERED   APR_FOPEN_BUFFERED
#define APR_DELONCLOSE   APR_FOPEN_DELONCLOSE
#define APR_XTHREAD   APR_FOPEN_XTHREAD
#define APR_SHARELOCK   APR_FOPEN_SHARELOCK
#define APR_FILE_NOCLEANUP   APR_FOPEN_NOCLEANUP
#define APR_SENDFILE_ENABLED   APR_FOPEN_SENDFILE_ENABLED
#define APR_LARGEFILE   APR_FOPEN_LARGEFILE

Define Documentation

Deprecated:
See also:
APR_FOPEN_APPEND

Definition at line 88 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_BINARY

Definition at line 90 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_BUFFERED

Definition at line 92 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_CREATE

Definition at line 87 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_DELONCLOSE

Definition at line 93 of file apr_file_io.h.

#define APR_EXCL   APR_FOPEN_EXCL
Deprecated:
See also:
APR_FOPEN_EXCL

Definition at line 91 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_NOCLEANUP

Definition at line 96 of file apr_file_io.h.

#define APR_FOPEN_APPEND   0x00008

Append to the end of the file

Definition at line 57 of file apr_file_io.h.

#define APR_FOPEN_BINARY   0x00020

Open the file in binary mode

Definition at line 60 of file apr_file_io.h.

#define APR_FOPEN_BUFFERED   0x00080

Open the file for buffered I/O

Definition at line 63 of file apr_file_io.h.

#define APR_FOPEN_CREATE   0x00004

Create the file if not there

Definition at line 56 of file apr_file_io.h.

#define APR_FOPEN_DELONCLOSE   0x00100

Delete the file after close

Definition at line 64 of file apr_file_io.h.

#define APR_FOPEN_EXCL   0x00040

Open should fail if APR_CREATE and file exists.

Definition at line 61 of file apr_file_io.h.

#define APR_FOPEN_LARGEFILE   0x04000

Platform dependent flag to enable large file support, see WARNING below

Definition at line 77 of file apr_file_io.h.

#define APR_FOPEN_NOCLEANUP   0x00800

Do not register a cleanup when the file is opened

Definition at line 72 of file apr_file_io.h.

#define APR_FOPEN_READ   0x00001

Open the file for reading

Definition at line 54 of file apr_file_io.h.

#define APR_FOPEN_SENDFILE_ENABLED   0x01000

Advisory flag that this file should support apr_socket_sendfile operation

Definition at line 74 of file apr_file_io.h.

#define APR_FOPEN_SHARELOCK   0x00400

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

Definition at line 68 of file apr_file_io.h.

#define APR_FOPEN_SPARSE   0x08000

Platform dependent flag to enable sparse file support, see WARNING below

Definition at line 80 of file apr_file_io.h.

#define APR_FOPEN_TRUNCATE   0x00010

Open the file and truncate to 0 length

Definition at line 58 of file apr_file_io.h.

#define APR_FOPEN_WRITE   0x00002

Open the file for writing

Definition at line 55 of file apr_file_io.h.

#define APR_FOPEN_XTHREAD   0x00200

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

Definition at line 65 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_LARGEFILE

Definition at line 98 of file apr_file_io.h.

#define APR_READ   APR_FOPEN_READ
Deprecated:
See also:
APR_FOPEN_READ

Definition at line 85 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_SENDFILE_ENABLED

Definition at line 97 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_SHARELOCK

Definition at line 95 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_TRUNCATE

Definition at line 89 of file apr_file_io.h.

#define APR_WRITE   APR_FOPEN_WRITE
Deprecated:
See also:
APR_FOPEN_WRITE

Definition at line 86 of file apr_file_io.h.

Deprecated:
See also:
APR_FOPEN_XTHREAD

Definition at line 94 of file apr_file_io.h.