mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
Port strnstr.c to newlib.
This commit is contained in:
parent
3437665ac8
commit
c206d04422
@ -121,6 +121,9 @@ size_t _EXFUN(strnlen,(const char *, size_t));
|
|||||||
#if __BSD_VISIBLE
|
#if __BSD_VISIBLE
|
||||||
char *_EXFUN(strsep,(char **, const char *));
|
char *_EXFUN(strsep,(char **, const char *));
|
||||||
#endif
|
#endif
|
||||||
|
#if __BSD_VISIBLE
|
||||||
|
char *strnstr(const char *, const char *, size_t) __pure;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __MISC_VISIBLE
|
#if __MISC_VISIBLE
|
||||||
char *_EXFUN(strlwr,(char *));
|
char *_EXFUN(strlwr,(char *));
|
||||||
|
@ -40,6 +40,7 @@ GENERAL_SOURCES = \
|
|||||||
strncmp.c \
|
strncmp.c \
|
||||||
strncpy.c \
|
strncpy.c \
|
||||||
strnlen.c \
|
strnlen.c \
|
||||||
|
strnstr.c \
|
||||||
strpbrk.c \
|
strpbrk.c \
|
||||||
strrchr.c \
|
strrchr.c \
|
||||||
strsep.c \
|
strsep.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user