tryexplicit_bzero.c (455B)
1 /* ISC license. */ 2 3 #undef _POSIX_C_SOURCE 4 #undef _XOPEN_SOURCE 5 6 #ifndef __EXTENSIONS__ 7 #define __EXTENSIONS__ 8 #endif 9 #ifndef _GNU_SOURCE 10 #define _GNU_SOURCE 11 #endif 12 #ifndef _BSD_SOURCE 13 #define _BSD_SOURCE 14 #endif 15 #ifndef _NETBSD_SOURCE 16 #define _NETBSD_SOURCE 17 #endif 18 #ifndef _INCOMPLETE_XOPEN_C063 19 #define _INCOMPLETE_XOPEN_C063 20 #endif 21 22 #include <string.h> 23 #include <strings.h> 24 25 int main (void) 26 { 27 char blah[4] ; 28 explicit_bzero(blah, 4) ; 29 return 0 ; 30 }