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
14 char* strnlwr( char* start_l ,int n);
15 char* strnupr( char* start_l, int n);
17 #ifndef HAVE_MEMMEM // GNU extension.
18 char *memmem(const Byte * haystack, int haystack_len,
19 const Byte *needle, int needle_len);
22 #ifndef HAVE_SNPRINTF // GNU extension.
23 int snprintf (char *str, size_t n,
24 const char *format, ... );
28 Byte *memrchr(const Byte * p, int n, char c);
29 Byte *strrev( Byte* byte_l, int length_i );
32 #endif // LIBC_EXTENSION_HH