4
0
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:
Sichen Zhao 2017-08-25 15:35:39 +08:00 committed by Corinna Vinschen
parent 3437665ac8
commit c206d04422
2 changed files with 4 additions and 0 deletions

View File

@ -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 *));

View File

@ -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 \