]> git.saurik.com Git - apple/libc.git/blobdiff - include/strings.h
Libc-1439.100.3.tar.gz
[apple/libc.git] / include / strings.h
index 47308aebf80a63f084adfa34df3050a949749f4e..c0e915f8ac35949d5f29ac8a6904b8ea17679ec1 100644 (file)
 
 #include <sys/cdefs.h>
 #include <Availability.h>
-
-#ifndef        _SIZE_T
-#define        _SIZE_T
-typedef        __darwin_size_t size_t;
-#endif
+#include <sys/_types/_size_t.h>
 
 __BEGIN_DECLS
 /* Removed in Issue 7 */
@@ -87,12 +83,19 @@ __END_DECLS
 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
 __BEGIN_DECLS
 int     ffsl(long) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
+int     ffsll(long long) __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7_0);
 int     fls(int) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
 int     flsl(long) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
+int     flsll(long long) __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7_0);
 __END_DECLS
 
 #include <string.h>
 #endif
 
+#if defined (__GNUC__) && _FORTIFY_SOURCE > 0 && !defined (__cplusplus)
+/* Security checking functions.  */
+#include <secure/_strings.h>
+#endif
+
 #endif  /* _STRINGS_H_ */