]> git.donarmstrong.com Git - lilypond.git/blob - flower/lib/include/libc-extension.hh
e71037c41ee817c95f2f108bb143284a2947f58a
[lilypond.git] / flower / lib / include / libc-extension.hh
1 /*
2   libc-extension.hh -- declare some string.h extensions
3
4   source file of the flowerlib
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef LIBC_EXTENSION_HH
11 #define LIBC_EXTENSION_HH
12 #include "fproto.hh"
13
14 char* strnlwr( char* start_l ,int n);
15 char* strnupr( char* start_l, int n);
16
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
21
22 #ifndef HAVE_SNPRINTF           // GNU extension.
23 int snprintf (char *str, size_t n,
24               const char *format, ... );
25 #endif
26
27
28 Byte *memrchr(const Byte * p, int n, char c);
29 Byte *strrev( Byte* byte_l, int length_i );
30
31
32 #endif // LIBC_EXTENSION_HH