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