]> git.donarmstrong.com Git - lilypond.git/blob - flower/lib/include/libc-extension.hh
partial: 0.0.42.pre3.hanjan
[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 #include "config.hh"
14
15 char* strnlwr( char* start_l ,int n);
16 char* strnupr( char* start_l, int n);
17
18 #ifndef HAVE_MEMMEM             // GNU extension.
19 char *memmem(const Byte * haystack, int haystack_len,
20              const Byte *needle, int needle_len);
21 #endif HAVE_MEMMEM
22
23 #ifndef HAVE_SNPRINTF           // GNU extension.
24 int snprintf (char *str, size_t n,
25               const char *format, ... );
26 #endif
27
28
29 Byte *memrchr(const Byte * p, int n, char c);
30 Byte *strrev( Byte* byte_l, int length_i );
31
32
33 #endif // LIBC_EXTENSION_HH