Refresh 64-bit headers/libs (WW25)
To bionic: 06366724d572ef005f5bc0ddd8ad46794cbfad3b Change-Id: I4c676127d357445fc5d09a2c82c5664238105b90
This commit is contained in:
@@ -43,20 +43,13 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
void bcopy(const void *, void *, size_t);
|
||||
void bzero(void *, size_t);
|
||||
#define bcopy(b1, b2, len) (void)(memmove((b2), (b1), (len)))
|
||||
#define bzero(b, len) (void)(memset((b), '\0', (len)))
|
||||
|
||||
int ffs(int);
|
||||
char *index(const char *, int);
|
||||
int strcasecmp(const char *, const char *);
|
||||
int strncasecmp(const char *, const char *, size_t);
|
||||
|
||||
#if defined(__BIONIC_FORTIFY)
|
||||
__BIONIC_FORTIFY_INLINE
|
||||
void bzero (void *s, size_t n) {
|
||||
__builtin___memset_chk(s, '\0', n, __builtin_object_size (s, 0));
|
||||
}
|
||||
#endif /* defined(__BIONIC_FORTIFY) */
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !defined(_STRINGS_H_) */
|
||||
|
||||
Reference in New Issue
Block a user