From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76425 invoked by alias); 1 Dec 2017 09:43:39 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 76408 invoked by uid 9642); 1 Dec 2017 09:43:39 -0000 Date: Fri, 01 Dec 2017 09:43:00 -0000 Message-ID: <20171201094339.76406.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Yaakov Selkowitz To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] string: remove TRAD_SYNOPSIS X-Act-Checkin: newlib-cygwin X-Git-Author: Yaakov Selkowitz X-Git-Refname: refs/heads/master X-Git-Oldrev: a38fc79ee9f7ccef78adf91aba8f5ae374803dfe X-Git-Newrev: 352c8f2f0dd977f2b2d2dfb7087d701d85fd5361 X-SW-Source: 2017-q4/txt/msg00062.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=352c8f2f0dd977f2b2d2dfb7087d701d85fd5361 commit 352c8f2f0dd977f2b2d2dfb7087d701d85fd5361 Author: Yaakov Selkowitz Date: Thu Nov 30 02:20:06 2017 -0600 string: remove TRAD_SYNOPSIS Signed-off-by: Yaakov Selkowitz Diff: --- newlib/libc/string/bcmp.c | 9 +-------- newlib/libc/string/bcopy.c | 8 +------- newlib/libc/string/bzero.c | 8 +------- newlib/libc/string/index.c | 8 +------- newlib/libc/string/memccpy.c | 9 +-------- newlib/libc/string/memchr.c | 9 +-------- newlib/libc/string/memcmp.c | 9 +-------- newlib/libc/string/memcpy.c | 9 +-------- newlib/libc/string/memmem.c | 2 +- newlib/libc/string/memmove.c | 9 +-------- newlib/libc/string/mempcpy.c | 8 +------- newlib/libc/string/memrchr.c | 9 +-------- newlib/libc/string/memset.c | 9 +-------- newlib/libc/string/rawmemchr.c | 8 +------- newlib/libc/string/rindex.c | 8 +------- newlib/libc/string/stpcpy.c | 8 +------- newlib/libc/string/stpncpy.c | 9 +-------- newlib/libc/string/strcasecmp.c | 8 +------- newlib/libc/string/strcasecmp_l.c | 2 +- newlib/libc/string/strcasestr.c | 8 +------- newlib/libc/string/strcat.c | 8 +------- newlib/libc/string/strchr.c | 8 +------- newlib/libc/string/strchrnul.c | 8 +------- newlib/libc/string/strcmp.c | 8 +------- newlib/libc/string/strcoll.c | 8 +------- newlib/libc/string/strcoll_l.c | 2 +- newlib/libc/string/strcpy.c | 8 +------- newlib/libc/string/strcspn.c | 7 +------ newlib/libc/string/strerror.c | 7 +------ newlib/libc/string/strerror_r.c | 9 +-------- newlib/libc/string/strlen.c | 7 +------ newlib/libc/string/strlwr.c | 7 +------ newlib/libc/string/strncasecmp.c | 9 +-------- newlib/libc/string/strncasecmp_l.c | 2 +- newlib/libc/string/strncat.c | 9 +-------- newlib/libc/string/strncmp.c | 9 +-------- newlib/libc/string/strncpy.c | 9 +-------- newlib/libc/string/strnlen.c | 8 +------- newlib/libc/string/strnstr.c | 2 +- newlib/libc/string/strpbrk.c | 8 +------- newlib/libc/string/strrchr.c | 8 +------- newlib/libc/string/strsignal.c | 7 +------ newlib/libc/string/strspn.c | 8 +------- newlib/libc/string/strstr.c | 8 +------- newlib/libc/string/strtok.c | 17 +---------------- newlib/libc/string/strupr.c | 7 +------ newlib/libc/string/strverscmp.c | 9 +-------- newlib/libc/string/strxfrm.c | 9 +-------- newlib/libc/string/strxfrm_l.c | 2 +- newlib/libc/string/swab.c | 8 +------- newlib/libc/string/wcpcpy.c | 7 +------ newlib/libc/string/wcpncpy.c | 8 +------- newlib/libc/string/wcscasecmp.c | 8 +------- newlib/libc/string/wcscasecmp_l.c | 2 +- newlib/libc/string/wcscat.c | 7 +------ newlib/libc/string/wcschr.c | 7 +------ newlib/libc/string/wcscmp.c | 6 +----- newlib/libc/string/wcscoll.c | 8 +------- newlib/libc/string/wcscoll_l.c | 2 +- newlib/libc/string/wcscpy.c | 7 +------ newlib/libc/string/wcscspn.c | 7 +------ newlib/libc/string/wcsdup.c | 8 +------- newlib/libc/string/wcslcat.c | 9 +-------- newlib/libc/string/wcslcpy.c | 9 +-------- newlib/libc/string/wcslen.c | 6 +----- newlib/libc/string/wcsncasecmp.c | 9 +-------- newlib/libc/string/wcsncasecmp_l.c | 2 +- newlib/libc/string/wcsncat.c | 8 +------- newlib/libc/string/wcsncmp.c | 8 +------- newlib/libc/string/wcsncpy.c | 8 +------- newlib/libc/string/wcsnlen.c | 8 +------- newlib/libc/string/wcspbrk.c | 7 +------ newlib/libc/string/wcsrchr.c | 8 +------- newlib/libc/string/wcsspn.c | 7 +------ newlib/libc/string/wcsstr.c | 7 +------ newlib/libc/string/wcstok.c | 9 +-------- newlib/libc/string/wcswidth.c | 8 +------- newlib/libc/string/wcsxfrm.c | 9 +-------- newlib/libc/string/wcsxfrm_l.c | 2 +- newlib/libc/string/wcwidth.c | 7 +------ newlib/libc/string/wmemchr.c | 8 +------- newlib/libc/string/wmemcmp.c | 8 +------- newlib/libc/string/wmemcpy.c | 8 +------- newlib/libc/string/wmemmove.c | 8 +------- newlib/libc/string/wmemset.c | 8 +------- 85 files changed, 85 insertions(+), 546 deletions(-) diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c index 8d6e12f..86aada1 100644 --- a/newlib/libc/string/bcmp.c +++ b/newlib/libc/string/bcmp.c @@ -5,17 +5,10 @@ FUNCTION INDEX bcmp -ANSI_SYNOPSIS +SYNOPSIS #include int bcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int bcmp(<[s1]>, <[s2]>, <[n]>) - const void *<[s1]>; - const void *<[s2]>; - size_t <[n]>; - DESCRIPTION This function compares not more than <[n]> bytes of the object pointed to by <[s1]> with the object pointed to by <[s2]>. diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c index 2881fd9..22a7f1b 100644 --- a/newlib/libc/string/bcopy.c +++ b/newlib/libc/string/bcopy.c @@ -2,16 +2,10 @@ FUNCTION <>---copy memory regions -ANSI_SYNOPSIS +SYNOPSIS #include void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>); -TRAD_SYNOPSIS - void bcopy(<[in]>, <[out]>, <[n]> - const void *<[in]>; - void *<[out]>; - size_t <[n]>; - DESCRIPTION This function copies <[n]> bytes from the memory region pointed to by <[in]> to the memory region pointed to by diff --git a/newlib/libc/string/bzero.c b/newlib/libc/string/bzero.c index e99529a..dc52170 100644 --- a/newlib/libc/string/bzero.c +++ b/newlib/libc/string/bzero.c @@ -5,16 +5,10 @@ FUNCTION INDEX bzero -ANSI_SYNOPSIS +SYNOPSIS #include void bzero(void *<[b]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - void bzero(<[b]>, <[length]>) - void *<[b]>; - size_t <[length]>; - DESCRIPTION <> initializes <[length]> bytes of memory, starting at address <[b]>, to zero. diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c index ec241ff..2c4b490 100644 --- a/newlib/libc/string/index.c +++ b/newlib/libc/string/index.c @@ -5,16 +5,10 @@ FUNCTION INDEX index -ANSI_SYNOPSIS +SYNOPSIS #include char * index(const char *<[string]>, int <[c]>); -TRAD_SYNOPSIS - #include - char * index(<[string]>, <[c]>); - char *<[string]>; - int *<[c]>; - DESCRIPTION This function finds the first occurence of <[c]> (converted to a char) in the string pointed to by <[string]> (including the diff --git a/newlib/libc/string/memccpy.c b/newlib/libc/string/memccpy.c index 332ed46..219aa5c 100644 --- a/newlib/libc/string/memccpy.c +++ b/newlib/libc/string/memccpy.c @@ -2,18 +2,11 @@ FUNCTION <>---copy memory regions with end-token check -ANSI_SYNOPSIS +SYNOPSIS #include void* memccpy(void *restrict <[out]>, const void *restrict <[in]>, int <[endchar]>, size_t <[n]>); -TRAD_SYNOPSIS - void *memccpy(<[out]>, <[in]>, <[endchar]>, <[n]> - void *<[out]>; - void *<[in]>; - int <[endchar]>; - size_t <[n]>; - DESCRIPTION This function copies up to <[n]> bytes from the memory region pointed to by <[in]> to the memory region pointed to by diff --git a/newlib/libc/string/memchr.c b/newlib/libc/string/memchr.c index db0af7c..152cd71 100644 --- a/newlib/libc/string/memchr.c +++ b/newlib/libc/string/memchr.c @@ -5,17 +5,10 @@ FUNCTION INDEX memchr -ANSI_SYNOPSIS +SYNOPSIS #include void *memchr(const void *<[src]>, int <[c]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - void *memchr(<[src]>, <[c]>, <[length]>) - void *<[src]>; - void *<[c]>; - size_t <[length]>; - DESCRIPTION This function searches memory starting at <<*<[src]>>> for the character <[c]>. The search only ends with the first diff --git a/newlib/libc/string/memcmp.c b/newlib/libc/string/memcmp.c index 4a871fa..8f86e7a 100644 --- a/newlib/libc/string/memcmp.c +++ b/newlib/libc/string/memcmp.c @@ -5,17 +5,10 @@ FUNCTION INDEX memcmp -ANSI_SYNOPSIS +SYNOPSIS #include int memcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int memcmp(<[s1]>, <[s2]>, <[n]>) - void *<[s1]>; - void *<[s2]>; - size_t <[n]>; - DESCRIPTION This function compares not more than <[n]> characters of the object pointed to by <[s1]> with the object pointed to by <[s2]>. diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c index 5f27bca..c76ab48 100644 --- a/newlib/libc/string/memcpy.c +++ b/newlib/libc/string/memcpy.c @@ -2,18 +2,11 @@ FUNCTION <>---copy memory regions -ANSI_SYNOPSIS +SYNOPSIS #include void* memcpy(void *restrict <[out]>, const void *restrict <[in]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - void *memcpy(<[out]>, <[in]>, <[n]> - void *<[out]>; - void *<[in]>; - size_t <[n]>; - DESCRIPTION This function copies <[n]> bytes from the memory region pointed to by <[in]> to the memory region pointed to by diff --git a/newlib/libc/string/memmem.c b/newlib/libc/string/memmem.c index 25704e4..59e19d2 100644 --- a/newlib/libc/string/memmem.c +++ b/newlib/libc/string/memmem.c @@ -11,7 +11,7 @@ FUNCTION INDEX memmem -ANSI_SYNOPSIS +SYNOPSIS #include char *memmem(const void *<[s1]>, size_t <[l1]>, const void *<[s2]>, size_t <[l2]>); diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c index a037c7c..e6275a7 100644 --- a/newlib/libc/string/memmove.c +++ b/newlib/libc/string/memmove.c @@ -5,17 +5,10 @@ FUNCTION INDEX memmove -ANSI_SYNOPSIS +SYNOPSIS #include void *memmove(void *<[dst]>, const void *<[src]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - void *memmove(<[dst]>, <[src]>, <[length]>) - void *<[dst]>; - void *<[src]>; - size_t <[length]>; - DESCRIPTION This function moves <[length]> characters from the block of memory starting at <<*<[src]>>> to the memory starting at diff --git a/newlib/libc/string/mempcpy.c b/newlib/libc/string/mempcpy.c index 5c6738f..1a8e7cd 100644 --- a/newlib/libc/string/mempcpy.c +++ b/newlib/libc/string/mempcpy.c @@ -2,16 +2,10 @@ FUNCTION <>---copy memory regions and return end pointer -ANSI_SYNOPSIS +SYNOPSIS #include void* mempcpy(void *<[out]>, const void *<[in]>, size_t <[n]>); -TRAD_SYNOPSIS - void *mempcpy(<[out]>, <[in]>, <[n]> - void *<[out]>; - void *<[in]>; - size_t <[n]>; - DESCRIPTION This function copies <[n]> bytes from the memory region pointed to by <[in]> to the memory region pointed to by diff --git a/newlib/libc/string/memrchr.c b/newlib/libc/string/memrchr.c index 60dee42..974cebc 100644 --- a/newlib/libc/string/memrchr.c +++ b/newlib/libc/string/memrchr.c @@ -5,17 +5,10 @@ FUNCTION INDEX memrchr -ANSI_SYNOPSIS +SYNOPSIS #include void *memrchr(const void *<[src]>, int <[c]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - void *memrchr(<[src]>, <[c]>, <[length]>) - void *<[src]>; - void *<[c]>; - size_t <[length]>; - DESCRIPTION This function searches memory starting at <[length]> bytes beyond <<*<[src]>>> backwards for the character <[c]>. diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c index b84e155..7d05478 100644 --- a/newlib/libc/string/memset.c +++ b/newlib/libc/string/memset.c @@ -5,17 +5,10 @@ FUNCTION INDEX memset -ANSI_SYNOPSIS +SYNOPSIS #include void *memset(void *<[dst]>, int <[c]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - void *memset(<[dst]>, <[c]>, <[length]>) - void *<[dst]>; - int <[c]>; - size_t <[length]>; - DESCRIPTION This function converts the argument <[c]> into an unsigned char and fills the first <[length]> characters of the array diff --git a/newlib/libc/string/rawmemchr.c b/newlib/libc/string/rawmemchr.c index 4b5a4cd..c1b360d 100644 --- a/newlib/libc/string/rawmemchr.c +++ b/newlib/libc/string/rawmemchr.c @@ -5,16 +5,10 @@ FUNCTION INDEX rawmemchr -ANSI_SYNOPSIS +SYNOPSIS #include void *rawmemchr(const void *<[src]>, int <[c]>); -TRAD_SYNOPSIS - #include - void *rawmemchr(<[src]>, <[c]>) - void *<[src]>; - void *<[c]>; - DESCRIPTION This function searches memory starting at <<*<[src]>>> for the character <[c]>. The search only ends with the first occurrence diff --git a/newlib/libc/string/rindex.c b/newlib/libc/string/rindex.c index daa1c52..3284361 100644 --- a/newlib/libc/string/rindex.c +++ b/newlib/libc/string/rindex.c @@ -5,16 +5,10 @@ FUNCTION INDEX rindex -ANSI_SYNOPSIS +SYNOPSIS #include char * rindex(const char *<[string]>, int <[c]>); -TRAD_SYNOPSIS - #include - char * rindex(<[string]>, <[c]>); - char *<[string]>; - int *<[c]>; - DESCRIPTION This function finds the last occurence of <[c]> (converted to a char) in the string pointed to by <[string]> (including the diff --git a/newlib/libc/string/stpcpy.c b/newlib/libc/string/stpcpy.c index bc58f47..6272f1d 100644 --- a/newlib/libc/string/stpcpy.c +++ b/newlib/libc/string/stpcpy.c @@ -5,16 +5,10 @@ FUNCTION INDEX stpcpy -ANSI_SYNOPSIS +SYNOPSIS #include char *stpcpy(char *restrict <[dst]>, const char *restrict <[src]>); -TRAD_SYNOPSIS - #include - char *stpcpy(<[dst]>, <[src]>) - char *<[dst]>; - char *<[src]>; - DESCRIPTION <> copies the string pointed to by <[src]> (including the terminating null character) to the array diff --git a/newlib/libc/string/stpncpy.c b/newlib/libc/string/stpncpy.c index abd9bbd..aa5acd4 100644 --- a/newlib/libc/string/stpncpy.c +++ b/newlib/libc/string/stpncpy.c @@ -5,18 +5,11 @@ FUNCTION INDEX stpncpy -ANSI_SYNOPSIS +SYNOPSIS #include char *stpncpy(char *restrict <[dst]>, const char *restrict <[src]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - char *stpncpy(<[dst]>, <[src]>, <[length]>) - char *<[dst]>; - char *<[src]>; - size_t <[length]>; - DESCRIPTION <> copies not more than <[length]> characters from the the string pointed to by <[src]> (including the terminating diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c index df8510b..a6c3486 100644 --- a/newlib/libc/string/strcasecmp.c +++ b/newlib/libc/string/strcasecmp.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcasecmp -ANSI_SYNOPSIS +SYNOPSIS #include int strcasecmp(const char *<[a]>, const char *<[b]>); -TRAD_SYNOPSIS - #include - int strcasecmp(<[a]>, <[b]>) - char *<[a]>; - char *<[b]>; - DESCRIPTION <> compares the string at <[a]> to the string at <[b]> in a case-insensitive manner. diff --git a/newlib/libc/string/strcasecmp_l.c b/newlib/libc/string/strcasecmp_l.c index f87039d..587f56e 100644 --- a/newlib/libc/string/strcasecmp_l.c +++ b/newlib/libc/string/strcasecmp_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX strcasecmp_l -ANSI_SYNOPSIS +SYNOPSIS #include int strcasecmp_l(const char *<[a]>, const char *<[b]>, locale_t <[locale]>); diff --git a/newlib/libc/string/strcasestr.c b/newlib/libc/string/strcasestr.c index 8fff00b..599f502 100644 --- a/newlib/libc/string/strcasestr.c +++ b/newlib/libc/string/strcasestr.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcasestr -ANSI_SYNOPSIS +SYNOPSIS #include char *strcasestr(const char *<[s]>, const char *<[find]>); -TRAD_SYNOPSIS - #include - int strcasecmp(<[s]>, <[find]>) - char *<[s]>; - char *<[find]>; - DESCRIPTION <> searchs the string <[s]> for the first occurrence of the sequence <[find]>. <> diff --git a/newlib/libc/string/strcat.c b/newlib/libc/string/strcat.c index 1e46149..44b6b03 100644 --- a/newlib/libc/string/strcat.c +++ b/newlib/libc/string/strcat.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcat -ANSI_SYNOPSIS +SYNOPSIS #include char *strcat(char *restrict <[dst]>, const char *restrict <[src]>); -TRAD_SYNOPSIS - #include - char *strcat(<[dst]>, <[src]>) - char *<[dst]>; - char *<[src]>; - DESCRIPTION <> appends a copy of the string pointed to by <[src]> (including the terminating null character) to the end of the diff --git a/newlib/libc/string/strchr.c b/newlib/libc/string/strchr.c index e921b5d..7147bd4 100644 --- a/newlib/libc/string/strchr.c +++ b/newlib/libc/string/strchr.c @@ -5,16 +5,10 @@ FUNCTION INDEX strchr -ANSI_SYNOPSIS +SYNOPSIS #include char * strchr(const char *<[string]>, int <[c]>); -TRAD_SYNOPSIS - #include - char * strchr(<[string]>, <[c]>); - const char *<[string]>; - int <[c]>; - DESCRIPTION This function finds the first occurence of <[c]> (converted to a char) in the string pointed to by <[string]> (including the diff --git a/newlib/libc/string/strchrnul.c b/newlib/libc/string/strchrnul.c index afeef43..3b6cd62 100644 --- a/newlib/libc/string/strchrnul.c +++ b/newlib/libc/string/strchrnul.c @@ -5,16 +5,10 @@ FUNCTION INDEX strchrnul -ANSI_SYNOPSIS +SYNOPSIS #include char * strchrnul(const char *<[string]>, int <[c]>); -TRAD_SYNOPSIS - #include - char * strchrnul(<[string]>, <[c]>); - const char *<[string]>; - int <[c]>; - DESCRIPTION This function finds the first occurence of <[c]> (converted to a char) in the string pointed to by <[string]> (including the diff --git a/newlib/libc/string/strcmp.c b/newlib/libc/string/strcmp.c index 81d6527..d5e9148 100644 --- a/newlib/libc/string/strcmp.c +++ b/newlib/libc/string/strcmp.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcmp -ANSI_SYNOPSIS +SYNOPSIS #include int strcmp(const char *<[a]>, const char *<[b]>); -TRAD_SYNOPSIS - #include - int strcmp(<[a]>, <[b]>) - char *<[a]>; - char *<[b]>; - DESCRIPTION <> compares the string at <[a]> to the string at <[b]>. diff --git a/newlib/libc/string/strcoll.c b/newlib/libc/string/strcoll.c index a6bb31a..551ede6 100644 --- a/newlib/libc/string/strcoll.c +++ b/newlib/libc/string/strcoll.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcoll -ANSI_SYNOPSIS +SYNOPSIS #include int strcoll(const char *<[stra]>, const char * <[strb]>); -TRAD_SYNOPSIS - #include - int strcoll(<[stra]>, <[strb]>) - char *<[stra]>; - char *<[strb]>; - DESCRIPTION <> compares the string pointed to by <[stra]> to the string pointed to by <[strb]>, using an interpretation diff --git a/newlib/libc/string/strcoll_l.c b/newlib/libc/string/strcoll_l.c index 5032f84..89a7d05 100644 --- a/newlib/libc/string/strcoll_l.c +++ b/newlib/libc/string/strcoll_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX strcoll_l -ANSI_SYNOPSIS +SYNOPSIS #include int strcoll_l(const char *<[stra]>, const char * <[strb]>, locale_t <[locale]>); diff --git a/newlib/libc/string/strcpy.c b/newlib/libc/string/strcpy.c index 3dc3c33..9670d2c 100644 --- a/newlib/libc/string/strcpy.c +++ b/newlib/libc/string/strcpy.c @@ -5,16 +5,10 @@ FUNCTION INDEX strcpy -ANSI_SYNOPSIS +SYNOPSIS #include char *strcpy(char *<[dst]>, const char *<[src]>); -TRAD_SYNOPSIS - #include - char *strcpy(<[dst]>, <[src]>) - char *<[dst]>; - char *<[src]>; - DESCRIPTION <> copies the string pointed to by <[src]> (including the terminating null character) to the array diff --git a/newlib/libc/string/strcspn.c b/newlib/libc/string/strcspn.c index 403330c..f80b61f 100644 --- a/newlib/libc/string/strcspn.c +++ b/newlib/libc/string/strcspn.c @@ -5,14 +5,9 @@ FUNCTION INDEX strcspn -ANSI_SYNOPSIS +SYNOPSIS size_t strcspn(const char *<[s1]>, const char *<[s2]>); -TRAD_SYNOPSIS - size_t strcspn(<[s1]>, <[s2]>) - char *<[s1]>; - char *<[s2]>; - DESCRIPTION This function computes the length of the initial part of the string pointed to by <[s1]> which consists entirely of diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c index d5f0a3e..8da7d51 100644 --- a/newlib/libc/string/strerror.c +++ b/newlib/libc/string/strerror.c @@ -15,18 +15,13 @@ INDEX INDEX strerror_l -ANSI_SYNOPSIS +SYNOPSIS #include char *strerror(int <[errnum]>); char *strerror_l(int <[errnum]>, locale_t <[locale]>); char *_strerror_r(struct _reent <[ptr]>, int <[errnum]>, int <[internal]>, int *<[error]>); -TRAD_SYNOPSIS - #include - char *strerror(<[errnum]>) - int <[errnum]>; - DESCRIPTION <> converts the error number <[errnum]> into a string. The value of <[errnum]> is usually a copy of <>. diff --git a/newlib/libc/string/strerror_r.c b/newlib/libc/string/strerror_r.c index d26a412..af93375 100644 --- a/newlib/libc/string/strerror_r.c +++ b/newlib/libc/string/strerror_r.c @@ -6,7 +6,7 @@ FUNCTION INDEX strerror_r -ANSI_SYNOPSIS +SYNOPSIS #include #ifdef _GNU_SOURCE char *strerror_r(int <[errnum]>, char *<[buffer]>, size_t <[n]>); @@ -14,13 +14,6 @@ ANSI_SYNOPSIS int strerror_r(int <[errnum]>, char *<[buffer]>, size_t <[n]>); #endif -TRAD_SYNOPSIS - #include - char *strerror_r(<[errnum]>, <[buffer]>, <[n]>) - int <[errnum]>; - char *<[buffer]>; - size_t <[n]>; - DESCRIPTION <> converts the error number <[errnum]> into a string and copies the result into the supplied <[buffer]> for diff --git a/newlib/libc/string/strlen.c b/newlib/libc/string/strlen.c index a796d27..2e8c09f 100644 --- a/newlib/libc/string/strlen.c +++ b/newlib/libc/string/strlen.c @@ -5,15 +5,10 @@ FUNCTION INDEX strlen -ANSI_SYNOPSIS +SYNOPSIS #include size_t strlen(const char *<[str]>); -TRAD_SYNOPSIS - #include - size_t strlen(<[str]>) - char *<[src]>; - DESCRIPTION The <> function works out the length of the string starting at <<*<[str]>>> by counting chararacters until it diff --git a/newlib/libc/string/strlwr.c b/newlib/libc/string/strlwr.c index 3b73dba..c47ff48 100644 --- a/newlib/libc/string/strlwr.c +++ b/newlib/libc/string/strlwr.c @@ -5,15 +5,10 @@ FUNCTION INDEX strlwr -ANSI_SYNOPSIS +SYNOPSIS #include char *strlwr(char *<[a]>); -TRAD_SYNOPSIS - #include - char *strlwr(<[a]>) - char *<[a]>; - DESCRIPTION <> converts each character in the string at <[a]> to lowercase. diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c index 828f30b..c062942 100644 --- a/newlib/libc/string/strncasecmp.c +++ b/newlib/libc/string/strncasecmp.c @@ -5,17 +5,10 @@ FUNCTION INDEX strncasecmp -ANSI_SYNOPSIS +SYNOPSIS #include int strncasecmp(const char *<[a]>, const char * <[b]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - int strncasecmp(<[a]>, <[b]>, <[length]>) - char *<[a]>; - char *<[b]>; - size_t <[length]> - DESCRIPTION <> compares up to <[length]> characters from the string at <[a]> to the string at <[b]> in a diff --git a/newlib/libc/string/strncasecmp_l.c b/newlib/libc/string/strncasecmp_l.c index 41ae582..b15c6c5 100644 --- a/newlib/libc/string/strncasecmp_l.c +++ b/newlib/libc/string/strncasecmp_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX strncasecmp_l -ANSI_SYNOPSIS +SYNOPSIS #include int strncasecmp_l(const char *<[a]>, const char * <[b]>, size_t <[length]>, locale_t <[locale]>); diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c index 2f5a061..761cf87 100644 --- a/newlib/libc/string/strncat.c +++ b/newlib/libc/string/strncat.c @@ -5,18 +5,11 @@ FUNCTION INDEX strncat -ANSI_SYNOPSIS +SYNOPSIS #include char *strncat(char *restrict <[dst]>, const char *restrict <[src]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - char *strncat(<[dst]>, <[src]>, <[length]>) - char *<[dst]>; - char *<[src]>; - size_t <[length]>; - DESCRIPTION <> appends not more than <[length]> characters from the string pointed to by <[src]> (including the terminating diff --git a/newlib/libc/string/strncmp.c b/newlib/libc/string/strncmp.c index 9801b7d..3bbe47b 100644 --- a/newlib/libc/string/strncmp.c +++ b/newlib/libc/string/strncmp.c @@ -5,17 +5,10 @@ FUNCTION INDEX strncmp -ANSI_SYNOPSIS +SYNOPSIS #include int strncmp(const char *<[a]>, const char * <[b]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - int strncmp(<[a]>, <[b]>, <[length]>) - char *<[a]>; - char *<[b]>; - size_t <[length]> - DESCRIPTION <> compares up to <[length]> characters from the string at <[a]> to the string at <[b]>. diff --git a/newlib/libc/string/strncpy.c b/newlib/libc/string/strncpy.c index ff5d0d4..83596f4 100644 --- a/newlib/libc/string/strncpy.c +++ b/newlib/libc/string/strncpy.c @@ -5,18 +5,11 @@ FUNCTION INDEX strncpy -ANSI_SYNOPSIS +SYNOPSIS #include char *strncpy(char *restrict <[dst]>, const char *restrict <[src]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - char *strncpy(<[dst]>, <[src]>, <[length]>) - char *<[dst]>; - char *<[src]>; - size_t <[length]>; - DESCRIPTION <> copies not more than <[length]> characters from the the string pointed to by <[src]> (including the terminating diff --git a/newlib/libc/string/strnlen.c b/newlib/libc/string/strnlen.c index ed60e93..07ece0d 100644 --- a/newlib/libc/string/strnlen.c +++ b/newlib/libc/string/strnlen.c @@ -5,16 +5,10 @@ FUNCTION INDEX strnlen -ANSI_SYNOPSIS +SYNOPSIS #include size_t strnlen(const char *<[str]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - size_t strnlen(<[str]>, <[n]>) - char *<[src]>; - size_t <[n]>; - DESCRIPTION The <> function works out the length of the string starting at <<*<[str]>>> by counting chararacters until it diff --git a/newlib/libc/string/strnstr.c b/newlib/libc/string/strnstr.c index 947355f..cb5f719 100644 --- a/newlib/libc/string/strnstr.c +++ b/newlib/libc/string/strnstr.c @@ -5,7 +5,7 @@ FUNCTION INDEX strnstr -ANSI_SYNOPSIS +SYNOPSIS #include size_t strnstr(const char *<[s1]>, const char *<[s2]>, size_t <[n]>); diff --git a/newlib/libc/string/strpbrk.c b/newlib/libc/string/strpbrk.c index 5668db3..4507a86 100644 --- a/newlib/libc/string/strpbrk.c +++ b/newlib/libc/string/strpbrk.c @@ -5,16 +5,10 @@ FUNCTION INDEX strpbrk -ANSI_SYNOPSIS +SYNOPSIS #include char *strpbrk(const char *<[s1]>, const char *<[s2]>); -TRAD_SYNOPSIS - #include - char *strpbrk(<[s1]>, <[s2]>) - char *<[s1]>; - char *<[s2]>; - DESCRIPTION This function locates the first occurence in the string pointed to by <[s1]> of any character in string pointed to by diff --git a/newlib/libc/string/strrchr.c b/newlib/libc/string/strrchr.c index 4f903af..8217c6d 100644 --- a/newlib/libc/string/strrchr.c +++ b/newlib/libc/string/strrchr.c @@ -5,16 +5,10 @@ FUNCTION INDEX strrchr -ANSI_SYNOPSIS +SYNOPSIS #include char * strrchr(const char *<[string]>, int <[c]>); -TRAD_SYNOPSIS - #include - char * strrchr(<[string]>, <[c]>); - char *<[string]>; - int *<[c]>; - DESCRIPTION This function finds the last occurence of <[c]> (converted to a char) in the string pointed to by <[string]> (including the diff --git a/newlib/libc/string/strsignal.c b/newlib/libc/string/strsignal.c index e32c9a7..86a0e5d 100644 --- a/newlib/libc/string/strsignal.c +++ b/newlib/libc/string/strsignal.c @@ -5,15 +5,10 @@ FUNCTION INDEX strsignal -ANSI_SYNOPSIS +SYNOPSIS #include char *strsignal(int <[signal]>); -TRAD_SYNOPSIS - #include - char *strsignal(<[signal]>) - int <[signal]>; - DESCRIPTION <> converts the signal number <[signal]> into a string. If <[signal]> is not a known signal number, the result diff --git a/newlib/libc/string/strspn.c b/newlib/libc/string/strspn.c index 32b921b..3f43b8f 100644 --- a/newlib/libc/string/strspn.c +++ b/newlib/libc/string/strspn.c @@ -5,16 +5,10 @@ FUNCTION INDEX strspn -ANSI_SYNOPSIS +SYNOPSIS #include size_t strspn(const char *<[s1]>, const char *<[s2]>); -TRAD_SYNOPSIS - #include - size_t strspn(<[s1]>, <[s2]>) - char *<[s1]>; - char *<[s2]>; - DESCRIPTION This function computes the length of the initial segment of the string pointed to by <[s1]> which consists entirely of diff --git a/newlib/libc/string/strstr.c b/newlib/libc/string/strstr.c index 0480bce..288c744 100644 --- a/newlib/libc/string/strstr.c +++ b/newlib/libc/string/strstr.c @@ -5,16 +5,10 @@ FUNCTION INDEX strstr -ANSI_SYNOPSIS +SYNOPSIS #include char *strstr(const char *<[s1]>, const char *<[s2]>); -TRAD_SYNOPSIS - #include - char *strstr(<[s1]>, <[s2]>) - char *<[s1]>; - char *<[s2]>; - DESCRIPTION Locates the first occurrence in the string pointed to by <[s1]> of the sequence of characters in the string pointed to by <[s2]> diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c index 8d07ab3..a24c538 100644 --- a/newlib/libc/string/strtok.c +++ b/newlib/libc/string/strtok.c @@ -11,7 +11,7 @@ INDEX INDEX strsep -ANSI_SYNOPSIS +SYNOPSIS #include char *strtok(char *restrict <[source]>, const char *restrict <[delimiters]>); @@ -20,21 +20,6 @@ ANSI_SYNOPSIS char **<[lasts]>); char *strsep(char **<[source_ptr]>, const char *<[delimiters]>); -TRAD_SYNOPSIS - #include - char *strtok(<[source]>, <[delimiters]>); - char *<[source]>; - char *<[delimiters]>; - - char *strtok_r(<[source]>, <[delimiters]>, <[lasts]>); - char *<[source]>; - char *<[delimiters]>; - char **<[lasts]>; - - char *strsep(<[source_ptr]>, <[delimiters]>); - char **<[source_ptr]>; - char *<[delimiters]>; - DESCRIPTION The <> function is used to isolate sequential tokens in a null-terminated string, <<*<[source]>>>. These tokens are delimited diff --git a/newlib/libc/string/strupr.c b/newlib/libc/string/strupr.c index 350618e..dbec79e 100644 --- a/newlib/libc/string/strupr.c +++ b/newlib/libc/string/strupr.c @@ -5,15 +5,10 @@ FUNCTION INDEX strupr -ANSI_SYNOPSIS +SYNOPSIS #include char *strupr(char *<[a]>); -TRAD_SYNOPSIS - #include - char *strupr(<[a]>) - char *<[a]>; - DESCRIPTION <> converts each character in the string at <[a]> to uppercase. diff --git a/newlib/libc/string/strverscmp.c b/newlib/libc/string/strverscmp.c index 83f0532..04aa721 100644 --- a/newlib/libc/string/strverscmp.c +++ b/newlib/libc/string/strverscmp.c @@ -5,18 +5,11 @@ FUNCTION INDEX strverscmp -ANSI_SYNOPSIS +SYNOPSIS #define _GNU_SOURCE #include int strverscmp(const char *<[a]>, const char *<[b]>); -TRAD_SYNOPSIS - #define _GNU_SOURCE - #include - int strverscmp(<[a]>, <[b]>) - char *<[a]>; - char *<[b]>; - DESCRIPTION <> compares the string at <[a]> to the string at <[b]> in a version-logical order. diff --git a/newlib/libc/string/strxfrm.c b/newlib/libc/string/strxfrm.c index edc1272..de39721 100644 --- a/newlib/libc/string/strxfrm.c +++ b/newlib/libc/string/strxfrm.c @@ -5,18 +5,11 @@ FUNCTION INDEX strxfrm -ANSI_SYNOPSIS +SYNOPSIS #include size_t strxfrm(char *restrict <[s1]>, const char *restrict <[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - size_t strxfrm(<[s1]>, <[s2]>, <[n]>); - char *<[s1]>; - char *<[s2]>; - size_t <[n]>; - DESCRIPTION This function transforms the string pointed to by <[s2]> and places the resulting string into the array pointed to by diff --git a/newlib/libc/string/strxfrm_l.c b/newlib/libc/string/strxfrm_l.c index a1f4fe2..0ac5243 100644 --- a/newlib/libc/string/strxfrm_l.c +++ b/newlib/libc/string/strxfrm_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX strxfrm_l -ANSI_SYNOPSIS +SYNOPSIS #include size_t strxfrm_l(char *restrict <[s1]>, const char *restrict <[s2]>, size_t <[n]>, locale_t <[locale]>); diff --git a/newlib/libc/string/swab.c b/newlib/libc/string/swab.c index aee0763..ecf5abe 100644 --- a/newlib/libc/string/swab.c +++ b/newlib/libc/string/swab.c @@ -2,16 +2,10 @@ FUNCTION <>---swap adjacent bytes -ANSI_SYNOPSIS +SYNOPSIS #include void swab(const void *<[in]>, void *<[out]>, ssize_t <[n]>); -TRAD_SYNOPSIS - void swab(<[in]>, <[out]>, <[n]> - void *<[in]>; - void *<[out]>; - ssize_t <[n]>; - DESCRIPTION This function copies <[n]> bytes from the memory region pointed to by <[in]> to the memory region pointed to by diff --git a/newlib/libc/string/wcpcpy.c b/newlib/libc/string/wcpcpy.c index e1d9ad0..f0f9c4a 100644 --- a/newlib/libc/string/wcpcpy.c +++ b/newlib/libc/string/wcpcpy.c @@ -2,15 +2,10 @@ FUNCTION <>---copy a wide-character string returning a pointer to its end -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcpcpy(wchar_t *<[s1]>, const wchar_t *<[s2]>); -TRAD_SYNOPSIS - wchar_t *wcpcpy(<[s1]>, <[s2]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - DESCRIPTION The <> function copies the wide-character string pointed to by <[s2]> (including the terminating null wide-character code) into the diff --git a/newlib/libc/string/wcpncpy.c b/newlib/libc/string/wcpncpy.c index 87843b4..8f7ee79 100644 --- a/newlib/libc/string/wcpncpy.c +++ b/newlib/libc/string/wcpncpy.c @@ -2,17 +2,11 @@ FUNCTION <>---copy part of a wide-character string returning a pointer to its end -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcpncpy(wchar_t *__restrict <[s1]>, const wchar_t *__restrict <[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wcpncpy(<[s1]>, <[s2]>, <[n]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - size_t <[n]>; - DESCRIPTION The <> function copies not more than n wide-character codes (wide-character codes that follow a null wide-character code are not diff --git a/newlib/libc/string/wcscasecmp.c b/newlib/libc/string/wcscasecmp.c index 05f9561..26c7cc2 100644 --- a/newlib/libc/string/wcscasecmp.c +++ b/newlib/libc/string/wcscasecmp.c @@ -5,16 +5,10 @@ FUNCTION INDEX wcscasecmp -ANSI_SYNOPSIS +SYNOPSIS #include int wcscasecmp(const wchar_t *<[a]>, const wchar_t *<[b]>); -TRAD_SYNOPSIS - #include - int wcscasecmp(<[a]>, <[b]>) - wchar_t *<[a]>; - wchar_t *<[b]>; - DESCRIPTION <> compares the wide character string at <[a]> to the wide character string at <[b]> in a case-insensitive manner. diff --git a/newlib/libc/string/wcscasecmp_l.c b/newlib/libc/string/wcscasecmp_l.c index 329be05..3c58d8f 100644 --- a/newlib/libc/string/wcscasecmp_l.c +++ b/newlib/libc/string/wcscasecmp_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX wcscasecmp_l -ANSI_SYNOPSIS +SYNOPSIS #include int wcscasecmp_l(const wchar_t *<[a]>, const wchar_t *<[b]>, locale_t <[locale]>); diff --git a/newlib/libc/string/wcscat.c b/newlib/libc/string/wcscat.c index 11afbe3..586512d 100644 --- a/newlib/libc/string/wcscat.c +++ b/newlib/libc/string/wcscat.c @@ -4,16 +4,11 @@ FUNCTION INDEX wcscat -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcscat(wchar_t *__restrict <[s1]>, const wchar_t *__restrict <[s2]>); -TRAD_SYNOPSIS - wchar_t *wcscat(<[s1]>, <[s2]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - DESCRIPTION The <> function appends a copy of the wide-character string pointed to by <[s2]> (including the terminating null wide-character diff --git a/newlib/libc/string/wcschr.c b/newlib/libc/string/wcschr.c index fb35d1f..c705a08 100644 --- a/newlib/libc/string/wcschr.c +++ b/newlib/libc/string/wcschr.c @@ -2,15 +2,10 @@ FUNCTION <>---wide-character string scanning operation -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcschr(const wchar_t *<[s]>, wchar_t <[c]>); -TRAD_SYNOPSIS - wchar_t *wcschr(<[s]>, <[c]> - const wchar_t *<[s]>; - wchar_t <[c]>; - DESCRIPTION The <> function locates the first occurrence of <[c]> in the wide-character string pointed to by <[s]>. The value of <[c]> must be a diff --git a/newlib/libc/string/wcscmp.c b/newlib/libc/string/wcscmp.c index 0308962..8155742 100644 --- a/newlib/libc/string/wcscmp.c +++ b/newlib/libc/string/wcscmp.c @@ -2,14 +2,10 @@ FUNCTION <>---compare two wide-character strings -ANSI_SYNOPSIS +SYNOPSIS #include int wcscmp(const wchar_t *<[s1]>, *<[s2]>); -TRAD_SYNOPSIS - int wcscmp(<[s1]>, <[s2]> - const wchar_t *<[s1]>, <[s2]>; - DESCRIPTION The <> function compares the wide-character string pointed to by <[s1]> to the wide-character string pointed to by <[s2]>. diff --git a/newlib/libc/string/wcscoll.c b/newlib/libc/string/wcscoll.c index 726f4ca..020f7e5 100644 --- a/newlib/libc/string/wcscoll.c +++ b/newlib/libc/string/wcscoll.c @@ -5,16 +5,10 @@ FUNCTION INDEX wcscoll -ANSI_SYNOPSIS +SYNOPSIS #include int wcscoll(const wchar_t *<[stra]>, const wchar_t * <[strb]>); -TRAD_SYNOPSIS - #include - int wcscoll(<[stra]>, <[strb]>) - wchar_t *<[stra]>; - wchar_t *<[strb]>; - DESCRIPTION <> compares the wide-character string pointed to by <[stra]> to the wide-character string pointed to by <[strb]>, diff --git a/newlib/libc/string/wcscoll_l.c b/newlib/libc/string/wcscoll_l.c index e71d02a..2c9df52 100644 --- a/newlib/libc/string/wcscoll_l.c +++ b/newlib/libc/string/wcscoll_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX wcscoll_l -ANSI_SYNOPSIS +SYNOPSIS #include int wcscoll_l(const wchar_t *<[stra]>, const wchar_t * <[strb]>, locale_t <[locale]>); diff --git a/newlib/libc/string/wcscpy.c b/newlib/libc/string/wcscpy.c index ed8b484..79f065c 100644 --- a/newlib/libc/string/wcscpy.c +++ b/newlib/libc/string/wcscpy.c @@ -2,16 +2,11 @@ FUNCTION <>---copy a wide-character string -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcscpy(wchar_t *__restrict <[s1]>, const wchar_t *__restrict <[s2]>); -TRAD_SYNOPSIS - wchar_t *wcscpy(<[s1]>, <[s2]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - DESCRIPTION The <> function copies the wide-character string pointed to by <[s2]> (including the terminating null wide-character code) into the diff --git a/newlib/libc/string/wcscspn.c b/newlib/libc/string/wcscspn.c index 5ab9656..7be5f5e 100644 --- a/newlib/libc/string/wcscspn.c +++ b/newlib/libc/string/wcscspn.c @@ -2,15 +2,10 @@ FUNCTION <>---get length of a complementary wide substring -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcscspn(const wchar_t *<[s]>, wchar_t *<[set]>); -TRAD_SYNOPSIS - size_t wcscspn(<[s]>, <[set]> - const wchar_t *<[s]>; - const wchar_t *<[set]>; - DESCRIPTION The <> function computes the length of the maximum initial segment of the wide-character string pointed to by <[s]> which consists diff --git a/newlib/libc/string/wcsdup.c b/newlib/libc/string/wcsdup.c index 90be68e..e0e97c0 100644 --- a/newlib/libc/string/wcsdup.c +++ b/newlib/libc/string/wcsdup.c @@ -7,19 +7,13 @@ INDEX INDEX _wcsdup_r -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcsdup(const wchar_t *<[str]>); #include wchar_t *_wcsdup_r(struct _reent *<[ptr]>, const wchar_t *<[str]>); -TRAD_SYNOPSIS - #include - wchar_t *wcsdup(<[ptr]>, <[str]>) - struct _reent *<[ptr]>; - wchar_t *<[str]>; - DESCRIPTION <> allocates a new wide character string using <>, and copies the content of the argument <[str]> into the newly diff --git a/newlib/libc/string/wcslcat.c b/newlib/libc/string/wcslcat.c index 75c085b..2caa588 100644 --- a/newlib/libc/string/wcslcat.c +++ b/newlib/libc/string/wcslcat.c @@ -2,17 +2,10 @@ FUNCTION <>---concatenate wide-character strings to specified length -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcslcat(wchar_t *<[dst]>, const wchar_t *<[src]>, size_t <[siz]>); -TRAD_SYNOPSIS - #include - size_t wcslcat(<[dst]>, <[src]>, <[siz]> - wchar_t *<[dst]>; - const wchar_t *<[src]>; - size_t <[siz]>; - DESCRIPTION The <> function appends wide characters from <[src]> to end of the <[dst]> wide-character string so that the resultant diff --git a/newlib/libc/string/wcslcpy.c b/newlib/libc/string/wcslcpy.c index 21c030b..34352fb 100644 --- a/newlib/libc/string/wcslcpy.c +++ b/newlib/libc/string/wcslcpy.c @@ -2,17 +2,10 @@ FUNCTION <>---copy a wide-character string to specified length -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcslcpy(wchar_t *<[dst]>, const wchar_t *<[src]>, size_t <[siz]>); -TRAD_SYNOPSIS - #include - size_t wcslcpy(<[dst]>, <[src]>, <[siz]>) - wchar_t *<[dst]>; - const wchar_t *<[src]>; - size_t <[siz]>; - DESCRIPTION <> copies wide characters from <[src]> to <[dst]> such that up to <[siz]> - 1 characters are copied. A diff --git a/newlib/libc/string/wcslen.c b/newlib/libc/string/wcslen.c index d671551..ebef172 100644 --- a/newlib/libc/string/wcslen.c +++ b/newlib/libc/string/wcslen.c @@ -2,14 +2,10 @@ FUNCTION <>---get wide-character string length -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcslen(const wchar_t *<[s]>); -TRAD_SYNOPSIS - size_t wcslen(<[s]> - const wchar_t *<[s]>; - DESCRIPTION The <> function computes the number of wide-character codes in the wide-character string to which <[s]> points, not including the diff --git a/newlib/libc/string/wcsncasecmp.c b/newlib/libc/string/wcsncasecmp.c index c6fc08e..a339bbf 100644 --- a/newlib/libc/string/wcsncasecmp.c +++ b/newlib/libc/string/wcsncasecmp.c @@ -5,17 +5,10 @@ FUNCTION INDEX wcsncasecmp -ANSI_SYNOPSIS +SYNOPSIS #include int wcsncasecmp(const wchar_t *<[a]>, const wchar_t * <[b]>, size_t <[length]>); -TRAD_SYNOPSIS - #include - int wcsncasecmp(<[a]>, <[b]>, <[length]>) - wchar_t *<[a]>; - wchar_t *<[b]>; - size_t <[length]> - DESCRIPTION <> compares up to <[length]> wide characters from the string at <[a]> to the string at <[b]> in a diff --git a/newlib/libc/string/wcsncasecmp_l.c b/newlib/libc/string/wcsncasecmp_l.c index 4b360b8..f276635 100644 --- a/newlib/libc/string/wcsncasecmp_l.c +++ b/newlib/libc/string/wcsncasecmp_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX wcsncasecmp_l -ANSI_SYNOPSIS +SYNOPSIS #include int wcsncasecmp_l(const wchar_t *<[a]>, const wchar_t * <[b]>, size_t <[length]>, locale_t <[locale]>); diff --git a/newlib/libc/string/wcsncat.c b/newlib/libc/string/wcsncat.c index b73f6e9..34a6947 100644 --- a/newlib/libc/string/wcsncat.c +++ b/newlib/libc/string/wcsncat.c @@ -2,17 +2,11 @@ FUNCTION <>---concatenate part of two wide-character strings -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcsncat(wchar_t *__restrict <[s1]>, const wchar_t *__restrict <[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wcsncat(<[s1]>, <[s2]>, <[n]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - size_t <[n]>; - DESCRIPTION The <> function appends not more than <[n]> wide-character codes (a null wide-character code and wide-character codes that follow diff --git a/newlib/libc/string/wcsncmp.c b/newlib/libc/string/wcsncmp.c index 1897f5c..72c5d12 100644 --- a/newlib/libc/string/wcsncmp.c +++ b/newlib/libc/string/wcsncmp.c @@ -2,16 +2,10 @@ FUNCTION <>---compare part of two wide-character strings -ANSI_SYNOPSIS +SYNOPSIS #include int wcsncmp(const wchar_t *<[s1]>, const wchar_t *<[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - int wcsncmp(<[s1]>, <[s2]>, <[n]> - const wchar_t *<[s1]>; - const wchar_t *<[s2]>; - size_t <[n]>; - DESCRIPTION The <> function compares not more than <[n]> wide-character codes (wide-character codes that follow a null wide-character code are diff --git a/newlib/libc/string/wcsncpy.c b/newlib/libc/string/wcsncpy.c index 3d6d70b..793e522 100644 --- a/newlib/libc/string/wcsncpy.c +++ b/newlib/libc/string/wcsncpy.c @@ -2,17 +2,11 @@ FUNCTION <>---copy part of a wide-character string -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcsncpy(wchar_t *__restrict <[s1]>, const wchar_t *__restrict <[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wcsncpy(<[s1]>, <[s2]>, <[n]> - wchar_t *__restrict <[s1]>; - const wchar_t *__restrict <[s2]>; - size_t <[n]>; - DESCRIPTION The <> function copies not more than <[n]> wide-character codes (wide-character codes that follow a null wide-character code are not diff --git a/newlib/libc/string/wcsnlen.c b/newlib/libc/string/wcsnlen.c index 9d680d6..77aad65 100644 --- a/newlib/libc/string/wcsnlen.c +++ b/newlib/libc/string/wcsnlen.c @@ -5,16 +5,10 @@ FUNCTION INDEX wcsnlen -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcsnlen(const wchar_t *<[s]>, size_t <[maxlen]>); -TRAD_SYNOPSIS - #include - size_t wcsnlen(<[s]>, <[maxlen]>) - wchar_t *<[s]>; - size_t <[maxlen]>; - DESCRIPTION The <> function computes the number of wide-character codes in the wide-character string pointed to by <[s]> not including the diff --git a/newlib/libc/string/wcspbrk.c b/newlib/libc/string/wcspbrk.c index fbdf9e4..55401f1 100644 --- a/newlib/libc/string/wcspbrk.c +++ b/newlib/libc/string/wcspbrk.c @@ -2,15 +2,10 @@ FUNCTION <>----scan wide-character string for a wide-character code -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcspbrk(const wchar_t *<[s]>, const wchar_t *<[set]>); -TRAD_SYNOPSIS - wchar_t *wcspbrk(<[s]>, <[set]> - const wchar_t *<[s]>; - const wchar_t *<[set]>; - DESCRIPTION The <> function locates the first occurrence in the wide-character string pointed to by <[s]> of any wide-character code diff --git a/newlib/libc/string/wcsrchr.c b/newlib/libc/string/wcsrchr.c index 495d95a..b99cb97 100644 --- a/newlib/libc/string/wcsrchr.c +++ b/newlib/libc/string/wcsrchr.c @@ -2,16 +2,10 @@ FUNCTION <>---wide-character string scanning operation -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcsrchr(const wchar_t *<[s]>, wchar_t <[c]>); -TRAD_SYNOPSIS - #include - wchar_t *wcsrchr(<[s]>, <[c]> - const wchar_t *<[s]>; - wchar_t <[c]>; - DESCRIPTION The <> function locates the last occurrence of <[c]> in the wide-character string pointed to by <[s]>. The value of <[c]> must be a diff --git a/newlib/libc/string/wcsspn.c b/newlib/libc/string/wcsspn.c index e83f42f..652d971 100644 --- a/newlib/libc/string/wcsspn.c +++ b/newlib/libc/string/wcsspn.c @@ -2,15 +2,10 @@ FUNCTION <>---get length of a wide substring -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcsspn(const wchar_t *<[s]>, const wchar_t *<[set]>); -TRAD_SYNOPSIS - size_t wcsspn(<[s]>, <[set]> - const wchar_t *<[s]>; - const wchar_t *<[set]>; - DESCRIPTION The <> function computes the length of the maximum initial segment of the wide-character string pointed to by <[s]> which consists diff --git a/newlib/libc/string/wcsstr.c b/newlib/libc/string/wcsstr.c index 6e89112..bb6e3ed 100644 --- a/newlib/libc/string/wcsstr.c +++ b/newlib/libc/string/wcsstr.c @@ -2,16 +2,11 @@ FUNCTION <>---find a wide-character substring -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcsstr(const wchar_t *__restrict <[big]>, const wchar_t *__restrict <[little]>); -TRAD_SYNOPSIS - wchar_t *wcsstr(<[big]>, <[little]> - const wchar_t *__restrict <[big]>; - const wchar_t *__restrict <[little]>; - DESCRIPTION The <> function locates the first occurrence in the wide-character string pointed to by <[big]> of the sequence of diff --git a/newlib/libc/string/wcstok.c b/newlib/libc/string/wcstok.c index 144b33e..091f4bd 100644 --- a/newlib/libc/string/wcstok.c +++ b/newlib/libc/string/wcstok.c @@ -6,19 +6,12 @@ INDEX wcstok -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wcstok(wchar_t *__restrict <[source]>, const wchar_t *__restrict <[delimiters]>, wchar_t **__restrict <[lasts]>); -TRAD_SYNOPSIS - #include - wchar_t *wcstok(<[source]>, <[delimiters]>, <[lasts]>); - wchar_t *__restrict <[source]>; - wchar_t *__restrict <[delimiters]>; - wchar_t **__restrict <[lasts]>; - DESCRIPTION The <> function is the wide-character equivalent of the <> function (which in turn is the same as the <> diff --git a/newlib/libc/string/wcswidth.c b/newlib/libc/string/wcswidth.c index 6c0efe6..4cb8fa8 100644 --- a/newlib/libc/string/wcswidth.c +++ b/newlib/libc/string/wcswidth.c @@ -5,16 +5,10 @@ FUNCTION INDEX wcswidth -ANSI_SYNOPSIS +SYNOPSIS #include int wcswidth(const wchar_t *<[pwcs]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int wcswidth(<[pwcs]>, <[n]>) - wchar_t *<[wc]>; - size_t <[n]>; - DESCRIPTION The <> function shall determine the number of column positions required for <[n]> wide-character codes (or fewer than <[n]> diff --git a/newlib/libc/string/wcsxfrm.c b/newlib/libc/string/wcsxfrm.c index d267d27..e11516f 100644 --- a/newlib/libc/string/wcsxfrm.c +++ b/newlib/libc/string/wcsxfrm.c @@ -5,18 +5,11 @@ FUNCTION INDEX wcsxfrm -ANSI_SYNOPSIS +SYNOPSIS #include int wcsxfrm(wchar_t *__restrict <[stra]>, const wchar_t *__restrict <[strb]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - size_t wcsxfrm(<[stra]>, <[strb]>, <[n]>) - wchar_t *__restrict <[stra]>; - wchar_t *__restrict <[strb]>; - size_t <[n]> - DESCRIPTION <> transforms the wide-character string pointed to by <[strb]> to the wide-character string pointed to by <[stra]>, diff --git a/newlib/libc/string/wcsxfrm_l.c b/newlib/libc/string/wcsxfrm_l.c index c44b0d6..bfc4ae5 100644 --- a/newlib/libc/string/wcsxfrm_l.c +++ b/newlib/libc/string/wcsxfrm_l.c @@ -5,7 +5,7 @@ FUNCTION INDEX wcsxfrm_l -ANSI_SYNOPSIS +SYNOPSIS #include int wcsxfrm_l(wchar_t *__restrict <[stra]>, const wchar_t *__restrict <[strb]>, size_t <[n]>, diff --git a/newlib/libc/string/wcwidth.c b/newlib/libc/string/wcwidth.c index ac5c47f..acb15d0 100644 --- a/newlib/libc/string/wcwidth.c +++ b/newlib/libc/string/wcwidth.c @@ -5,15 +5,10 @@ FUNCTION INDEX wcwidth -ANSI_SYNOPSIS +SYNOPSIS #include int wcwidth(const wchar_t <[wc]>); -TRAD_SYNOPSIS - #include - int wcwidth(<[wc]>) - wchar_t *<[wc]>; - DESCRIPTION The <> function shall determine the number of column positions required for the wide character <[wc]>. The application diff --git a/newlib/libc/string/wmemchr.c b/newlib/libc/string/wmemchr.c index b582b89..097e47a 100644 --- a/newlib/libc/string/wmemchr.c +++ b/newlib/libc/string/wmemchr.c @@ -3,16 +3,10 @@ FUNCTION <>---find a wide character in memory -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wmemchr(const wchar_t *<[s]>, wchar_t <[c]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wmemchr(<[s]>, <[c]>, <[n]> - const wchar_t *<[s]>; - wchar_t <[c]>; - size_t <[n]>; - DESCRIPTION The <> function locates the first occurrence of <[c]> in the initial <[n]> wide characters of the object pointed to be <[s]>. This diff --git a/newlib/libc/string/wmemcmp.c b/newlib/libc/string/wmemcmp.c index af9ee32..a01bf32 100644 --- a/newlib/libc/string/wmemcmp.c +++ b/newlib/libc/string/wmemcmp.c @@ -2,16 +2,10 @@ FUNCTION <>---compare wide characters in memory -ANSI_SYNOPSIS +SYNOPSIS #include int wmemcmp(const wchar_t *<[s1]>, const wchar_t *<[s2]>, size_t <[n]>); -TRAD_SYNOPSIS - int wmemcmp(<[s1]>, <[s2]>, <[n]> - const wchar_t *<[s1]>; - const wchar_t *<[s2]>; - size_t <[n]>; - DESCRIPTION The <> function compares the first <[n]> wide characters of the object pointed to by <[s1]> to the first <[n]> wide characters of the diff --git a/newlib/libc/string/wmemcpy.c b/newlib/libc/string/wmemcpy.c index a57d6a5..0e8d6e4 100644 --- a/newlib/libc/string/wmemcpy.c +++ b/newlib/libc/string/wmemcpy.c @@ -2,17 +2,11 @@ FUNCTION <>---copy wide characters in memory -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wmemcpy(wchar_t *__restrict <[d]>, const wchar_t *__restrict <[s]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wmemcpy(<[d]>, <[s]>, <[n]> - wchar_t *__restrict <[d]>; - const wchar_t *__restrict <[s]>; - size_t <[n]>; - DESCRIPTION The <> function copies <[n]> wide characters from the object pointed to by <[s]> to the object pointed to be <[d]>. This function diff --git a/newlib/libc/string/wmemmove.c b/newlib/libc/string/wmemmove.c index e20a26a..18d2a2b 100644 --- a/newlib/libc/string/wmemmove.c +++ b/newlib/libc/string/wmemmove.c @@ -2,16 +2,10 @@ FUNCTION <>---copy wide characters in memory with overlapping areas -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wmemmove(wchar_t *<[d]>, const wchar_t *<[s]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wmemmove(<[d]>, <[s]>, <[n]> - wchar_t *<[d]>; - const wchar_t *<[s]>; - size_t <[n]>; - DESCRIPTION The <> function copies <[n]> wide characters from the object pointed to by <[s]> to the object pointed to by <[d]>. Copying takes diff --git a/newlib/libc/string/wmemset.c b/newlib/libc/string/wmemset.c index 0af6f91..377fbee 100644 --- a/newlib/libc/string/wmemset.c +++ b/newlib/libc/string/wmemset.c @@ -2,16 +2,10 @@ FUNCTION <>---set wide characters in memory -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *wmemset(wchar_t *<[s]>, wchar_t <[c]>, size_t <[n]>); -TRAD_SYNOPSIS - wchar_t *wmemset(<[s]>, <[c]>, <[n]> - wchar_t *<[s]>; - wchar_t <[c]>; - size_t <[n]>; - DESCRIPTION The <> function copies the value of <[c]> into each of the first <[n]> wide characters of the object pointed to by <[s]>. This