Further harden glibc malloc metadata against 1-byte overflows.
[glibc.git] / bits / string.h
blob89c627c182bbb46f17341008a8dc341b595cd2ff
1 /* This file should provide inline versions of string functions.
3 Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
5 This file should define __STRING_INLINES if functions are actually defined
6 as inlines. */
8 #ifndef _BITS_STRING_H
9 #define _BITS_STRING_H 1
11 /* Define whether to use the unaligned string inline ABI.
12 The string inline functions are an external ABI, thus cannot be changed
13 after the first release of a new target (unlike _STRING_ARCH_unaligned
14 which may be changed from release to release). Targets must support
15 unaligned accesses in hardware if either define is set to true. */
16 #define _STRING_INLINE_unaligned 0
18 #endif /* bits/string.h */