|
void * | memchr (const void *s, int c, size_t n) |
|
This is collection of oddballs that didn't fit anywhere else, and might move to more appropriate headers with the release of APR 1.0.
◆ APR_ALIGN
#define APR_ALIGN |
( |
| size, |
|
|
| boundary ) |
Value: (((size) + ((boundary) - 1)) & ~((boundary) - 1))
Finding offsets of elements within structures.
- Parameters
-
s_type | structure type name |
field | data field within the structure |
- Returns
- offset Alignment macros
◆ APR_ALIGN_DEFAULT
#define APR_ALIGN_DEFAULT |
( |
| size | ) |
|
Value:
#define APR_ALIGN(size, boundary)
Definition apr_general.h:143
Default alignment
◆ APR_ASCII_BLANK
#define APR_ASCII_BLANK '\040' |
◆ APR_ASCII_CR
#define APR_ASCII_CR '\015' |
◆ APR_ASCII_LF
#define APR_ASCII_LF '\012' |
◆ APR_ASCII_TAB
#define APR_ASCII_TAB '\011' |
◆ APR_OFFSET
#define APR_OFFSET |
( |
| p_type, |
|
|
| field ) |
Value: ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
Finding offsets of elements within structures. Taken from the X code... they've sweated portability of this stuff so we don't have to. Sigh...
- Parameters
-
p_type | pointer type name |
field | data field within the structure pointed to |
- Returns
- offset
◆ memmove
#define memmove |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:String and memory functions
◆ apr_signum_t