#define _STDIO_UTILITY
#define _GNU_SOURCE
#include <string.h>
+#include <locale.h> /* for __LOCALE_C_ONLY */
#ifdef L_strcpy
char * strcpy(char * dest, const char * src)
:"1" (cs),"2" (ct));
return __res;
}
+#ifdef __LOCALE_C_ONLY
+weak_alias(strcmp,strcoll);
+#endif /* __LOCALE_C_ONLY */
#endif
:"=a" (__res), "=&S" (d0) : "1" (s),"0" (c));
return __res;
}
+weak_alias(strchr,index);
#endif
:"=g" (__res), "=&S" (d0), "=&a" (d1) :"0" (0),"1" (s),"2" (c));
return __res;
}
+weak_alias(strrchr,rindex);
#endif