5248542 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$ cat -n string.h
 1 /*
 2  * string.h
 3  *
 4  * Definitions for memory and string functions.
 5  */
 6 
 7 #ifndef _STRING_H_
 8 #define _STRING_H_
 9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include "_ansi.h"
15 #include <sys/reent.h>
16 
17 #define __need_size_t
18 #include <stddef.h>
19 
20 #ifndef NULL
21 #define NULL 0
22 #endif
23 
24 _PTR     _EXFUN(memchr,(const _PTR, int, size_t));
25 int      _EXFUN(memcmp,(const _PTR, const _PTR, size_t));
26 _PTR     _EXFUN(memcpy,(_PTR, const _PTR, size_t));
27 _PTR     _EXFUN(memmove,(_PTR, const _PTR, size_t));
28 _PTR     _EXFUN(memset,(_PTR, int, size_t));
29 char    *_EXFUN(strcat,(char *, const char *));
30 char    *_EXFUN(strchr,(const char *, int));
31 int  _EXFUN(strcmp,(const char *, const char *));
32 int  _EXFUN(strcoll,(const char *, const char *));
33 char    *_EXFUN(strcpy,(char *, const char *));
34 size_t   _EXFUN(strcspn,(const char *, const char *));
35 char    *_EXFUN(strerror,(int));
36 size_t   _EXFUN(strlen,(const char *));
37 char    *_EXFUN(strncat,(char *, const char *, size_t));
38 int  _EXFUN(strncmp,(const char *, const char *, size_t));
39 char    *_EXFUN(strncpy,(char *, const char *, size_t));
40 char    *_EXFUN(strpbrk,(const char *, const char *));
41 char    *_EXFUN(strrchr,(const char *, int));
42 size_t   _EXFUN(strspn,(const char *, const char *));
43 char    *_EXFUN(strstr,(const char *, const char *));
44 
45 #ifndef _REENT_ONLY
46 char    *_EXFUN(strtok,(char *, const char *));
47 #endif
48 
49 size_t   _EXFUN(strxfrm,(char *, const char *, size_t));
50 
51 #ifndef __STRICT_ANSI__
52 char    *_EXFUN(strtok_r,(char *, const char *, char **));
53 
54 int  _EXFUN(bcmp,(const char *, const char *, size_t));
55 void     _EXFUN(bcopy,(const char *, char *, size_t));
56 void     _EXFUN(bzero,(char *, size_t));
57 int  _EXFUN(ffs,(int));
58 char    *_EXFUN(index,(const char *, int));
59 _PTR     _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
60 char    *_EXFUN(rindex,(const char *, int));
61 int  _EXFUN(strcasecmp,(const char *, const char *));
62 char    *_EXFUN(strdup,(const char *));
63 char    *_EXFUN(_strdup_r,(struct _reent *, const char *));
64 int  _EXFUN(strncasecmp,(const char *, const char *, size_t));
65 char    *_EXFUN(strsep,(char **, const char *));
66 char    *_EXFUN(strlwr,(char *));
67 char    *_EXFUN(strupr,(char *));
68 #ifdef __CYGWIN__
69 #ifndef DEFS_H  /* Kludge to work around problem compiling in gdb */
70 const char  *_EXFUN(strsignal, (int __signo));
71 #endif
72 int     _EXFUN(strtosigno, (const char *__name));
73 #endif
74 
75 /* These function names are used on Windows and perhaps other systems.  */
76 #ifndef strcmpi
77 #define strcmpi strcasecmp
78 #endif
79 #ifndef stricmp
80 #define stricmp strcasecmp
81 #endif
82 #ifndef strncmpi
83 #define strncmpi strncasecmp
84 #endif
85 #ifndef strnicmp
86 #define strnicmp strncasecmp
87 #endif
88 
89 #endif /* ! __STRICT_ANSI__ */
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 #endif /* _STRING_H_ */
5248543 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2001-01-31 15:09:06