Go to the source code of this file.
◆ APR_IMPLEMENT_INHERIT_SET
#define APR_IMPLEMENT_INHERIT_SET |
( |
|
name, |
|
|
|
flag, |
|
|
|
pool, |
|
|
|
cleanup |
|
) |
| |
Value:
{ \
int
flags = fcntl(the##
name->name##des, F_GETFD); \
flags &= ~(FD_CLOEXEC); \
if (fcntl(the##
name->name##des, F_SETFD,
flags) == -1) \
apr_pool_child_cleanup_set(the##
name->pool, \
} \
}
#define APR_EINVAL
Definition: apr_errno.h:717
dav_resource int dav_locktoken dav_response int flags
Definition: mod_dav.h:1458
const char * name
Definition: mod_dav.h:805
apr_status_t apr_pool_cleanup_null(void *data)
#define APR_SUCCESS
Definition: apr_errno.h:225
int apr_status_t
Definition: apr_errno.h:44
#define APR_FOPEN_NOCLEANUP
Definition: apr_file_io.h:74
#define APR_INHERIT
Definition: apr_arch_inherit.h:22
APR_DECLARE_DATA int errno
Definition: apr_private.h:126
◆ APR_IMPLEMENT_INHERIT_UNSET
#define APR_IMPLEMENT_INHERIT_UNSET |
( |
|
name, |
|
|
|
flag, |
|
|
|
pool, |
|
|
|
cleanup |
|
) |
| |
Value:
{ \
if ((
flags = fcntl(the##
name->name##des, F_GETFD)) == -1) \
flags |= FD_CLOEXEC; \
if (fcntl(the##
name->name##des, F_SETFD,
flags) == -1) \
apr_pool_child_cleanup_set(the##
name->pool, \
cleanup, cleanup); \
} \
}
◆ APR_INHERIT
#define APR_INHERIT (1 << 24) /* Must not conflict with other bits */ |