commit | bd8e6749b78567af62ec126d7cc057386ebee25a | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Aug 28 13:22:52 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Aug 28 14:27:14 2013 -0700 |
tree | 949ca8147c4675afb9f0af51e404f535dbd38a93 | |
parent | eb8f36223e51db626a23b8032f03c095be80998b [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