flower-1.1.6
[lilypond.git] / flower / libc-extension.hh
blobe71037c41ee817c95f2f108bb143284a2947f58a
1 /*
2 libc-extension.hh -- declare some string.h extensions
4 source file of the flowerlib
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef LIBC_EXTENSION_HH
11 #define LIBC_EXTENSION_HH
12 #include "fproto.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);
20 #endif HAVE_MEMMEM
22 #ifndef HAVE_SNPRINTF // GNU extension.
23 int snprintf (char *str, size_t n,
24 const char *format, ... );
25 #endif
28 Byte *memrchr(const Byte * p, int n, char c);
29 Byte *strrev( Byte* byte_l, int length_i );
32 #endif // LIBC_EXTENSION_HH