Skip to content

Instantly share code, notes, and snippets.

@tiras-j
Created October 12, 2018 01:54
Show Gist options
  • Save tiras-j/7390afb04577924534dfeadf54110a93 to your computer and use it in GitHub Desktop.
Save tiras-j/7390afb04577924534dfeadf54110a93 to your computer and use it in GitHub Desktop.
libz-sys stdio.h snippet for aarch64-apple-ios sysroot
336 #if __DARWIN_C_LEVEL >= 200112L || defined(_C99_SOURCE) || defined(__cplusplus)
337 __BEGIN_DECLS
338 int snprintf(char * __restrict __str, size_t __size, const char * __restrict __format, ...) __printflike(3, 4);
339 int vfscanf(FILE * __restrict __stream, const char * __restrict __format, va_list) __scanflike(2, 0);
340 int vscanf(const char * __restrict __format, va_list) __scanflike(1, 0);
341 int vsnprintf(char * __restrict __str, size_t __size, const char * __restrict __format, va_list) __printflike(3, 0);
342 int vsscanf(const char * __restrict __str, const char * __restrict __format, va_list) __scanflike(2, 0);
343 __END_DECLS
344 #endif /* __DARWIN_C_LEVEL >= 200112L || defined(_C99_SOURCE) || defined(__cplusplus) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment