17#include "apr_arch_file_io.h"
21#include "apr_arch_inherit.h"
57#ifndef WAITIO_USES_POLL
154#if APR_HAS_LARGE_FILES && defined(_LARGEFILE64_SOURCE)
156#elif defined(O_LARGEFILE)
210 (*new)->flags =
flag;
211 (*new)->filedes =
fd;
215 (*new)->blocking = BLK_ON;
218 if ((*new)->buffered) {
228 (*new)->buffer =
NULL;
232 (*new)->timeout = -1;
233 (*new)->ungetchar = -1;
237 (*new)->dataRead = 0;
238 (*new)->direction = 0;
239#ifndef WAITIO_USES_POLL
243 (*new)->pollset =
NULL;
292 (*file)->pool =
pool;
293 (*file)->eof_hit = 0;
294 (*file)->blocking = BLK_UNKNOWN;
295 (*file)->timeout = -1;
296 (*file)->ungetchar = -1;
297 (*file)->filedes = *
dafile;
301#ifndef WAITIO_USES_POLL
305 (*file)->pollset =
NULL;
308 if ((*file)->buffered) {
APR Portability Routines.
APR Thread Mutex Routines.
request_rec int int apr_table_t const char * path
const char apr_ssize_t int flags
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
const char int apr_pool_t * pool
apr_int32_t apr_fileperms_t
const char apr_int32_t flag
const char apr_file_t * file
const char apr_int32_t apr_fileperms_t perm
#define APR_FOPEN_TRUNCATE
#define APR_FOPEN_NONBLOCK
#define APR_FOPEN_NOCLEANUP
#define APR_FOPEN_XTHREAD
#define APR_FOPEN_DELONCLOSE
#define APR_FOPEN_BUFFERED
#define APR_FOPEN_LARGEFILE
#define APR_POOL_IMPLEMENT_ACCESSOR(type)
#define apr_pcalloc(p, size)
#define APR_FILE_DEFAULT_BUFSIZE
#define APR_IMPLEMENT_INHERIT_SET(name, flag, pool, cleanup)
mode_t apr_unix_perms2mode(apr_fileperms_t perms)
apr_status_t apr_unix_child_file_cleanup(void *thefile)
apr_status_t apr_unix_file_cleanup(void *thefile)
static apr_status_t file_cleanup(apr_file_t *file, int is_child)