2 libc-extension.hh -- declare some string.h extensions
4 source file of the flowerlib
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef LIBC_EXTENSION_HH
11 #define LIBC_EXTENSION_HH
15 char* strnlwr( char* start_l ,int n);
16 char* strnupr( char* start_l, int n);
18 #if !HAVE_MEMMEM // GNU extension.
19 char *memmem(Byte const * haystack, int haystack_len,
20 Byte const *needle, int needle_len);
23 #if !HAVE_SNPRINTF // GNU extension.
24 int snprintf (char *str, size_t n,
25 char const *format, ... );
29 Byte *memrchr(Byte const * p, int n, char c);
30 Byte *strrev( Byte* byte_l, int length_i );
33 #endif // LIBC_EXTENSION_HH