summaryrefslogtreecommitdiff
path: root/libc/tools/bionic_utils.py
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-08-28 13:22:52 -0700
committerNick Kralevich <nnk@google.com>2013-08-28 14:27:14 -0700
commitbd8e6749b78567af62ec126d7cc057386ebee25a (patch)
tree949ca8147c4675afb9f0af51e404f535dbd38a93 /libc/tools/bionic_utils.py
parenteb8f36223e51db626a23b8032f03c095be80998b (diff)
cdefs.h: introduce __bos0
Introduce __bos0 as a #define for __builtin_object_size((s), 0). This macro is intended to be used for places where the standard __bos macro isn't appropriate. memcpy, memmove, and memset deliberately use __bos0. This is done for two reasons: 1) I haven't yet tested to see if __bos is safe to use. 2) glibc uses __bos0 for these methods. Change-Id: Ifbe02efdb10a72fe3529dbcc47ff647bde6feeca
Diffstat (limited to 'libc/tools/bionic_utils.py')
0 files changed, 0 insertions, 0 deletions