From patchwork Thu Nov 30 10:28:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120106 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486279qgn; Thu, 30 Nov 2017 02:29:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ1VjFHCFmkUnekW2aoMfD9+ng4QzEIIX/jI43J20SWyuyIvz2FPvw+JVyPurAzl+P5xa6/ X-Received: by 10.99.140.85 with SMTP id q21mr1946621pgn.57.1512037791651; Thu, 30 Nov 2017 02:29:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037791; cv=none; d=google.com; s=arc-20160816; b=mXqAOgAy8NXbFZpJJfD0u0+0B85kdo0uvAumlGUvmR+EW/iWdj3jqeMIgeLKO6xGW4 IbNO8dyUxq8RkLZfKWmq+lZl/Zy4kAi8H22KFCw3+4uhiTtY1YJnpIPIh4NdwqMwAbGO k1GvVkhMZZtag9p91Py6Fk5DPBhUesmS3U+nQM0xBbbxY8BrjBE/FbdC61AGUeVwz9vZ WqRjgggkTjdGTxrLGwdjltOYtIk0+HlpyD3rV3Q8Xu9O5fVB/gy+qRRVN0W1DoXQhiMr jl+IP35iTyS82jR54cEiox3t3/75782Kiq6lYbEfgIdhNocH/9BQJQUKambe+XpflYcZ AEow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=YcG+HBYqylNJCNrziv8/wP6RDwMMcyV3cSFfi3rG1tg=; b=Hl0yRg48Tr2simld9y7wLwBxkIYR2S2NZuPFsnQ3fJ4pCEmYU44pGQiLHbzgRnsfDZ yiTvcYZzK8Oiq94jB/jqpaVY4+zpQ8qdw/Xfyu4eIgBDVUUPnTESpf79IljqGgqCGU5I hSnpHdVyX3n5BlfCd/gPAYdePRKfvnAF3Yj6oQRZnvp/d70SYIg+NJSlhxXHMtQ7OiDR OS/E3ze1p9R6U5n3pIiLmGClTFy+wlQvOa6Sg5CKadB9c3SmvyiH4sjMeZeGOjfWgdvs HNLkkHg7a5hKsUeOSYbbZRpVTxb+C0FjjvXD5w6p959VE01JVXZ/kW8rbMaSV0aytWx2 2epg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=O6LBONrA; spf=pass (google.com: domain of newlib-return-15421-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15421-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id n9si2788195pgq.423.2017.11.30.02.29.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:29:51 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15421-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=O6LBONrA; spf=pass (google.com: domain of newlib-return-15421-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15421-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=M4v0iobw/d61EcpwD4trr1yVLxi6Gzw aTqYFaSXnIbmRSV7ZbewM6ccyydQqmTGoZIp8ylaFxxesRZ7KROMK2SsRNLQWDG5 GLRgOabZmNH3wPW41B0U7w9ihgB2O8AD3bD0FjFyXj9Mbf7hvGobl0Dw2r8lYgDz ervKF6pQrKRQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=cfa7sQZgRTR7scH2WRgEkPm/GGk=; b=O6LBO NrAaiWF9tlNyqaSXRfz2zZ+2EjJNKaznuDaytgQwSb39gMCc2ho5JHiMm6u/UPV9 f5KpQ1wm1Z6CIOSoikq4VhEWtPKVGXAE9I5eZFN4AC3PG/dEv3zRgOVIwFG3yDgm orfXIkHWiPp5fkvxb7iJ20AA1qgyKNo8OA+xug= Received: (qmail 84290 invoked by alias); 30 Nov 2017 10:29:13 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 84183 invoked by uid 89); 30 Nov 2017 10:29:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=graphic, translations, punctuation X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:09 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8E0A88553F for ; Thu, 30 Nov 2017 10:29:08 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3FC601750E for ; Thu, 30 Nov 2017 10:29:08 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 01/24] ctype: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:35 -0600 Message-Id: <20171130102858.16160-2-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/ctype/isalnum.c | 6 +----- newlib/libc/ctype/isalpha.c | 6 +----- newlib/libc/ctype/isascii.c | 6 +----- newlib/libc/ctype/isblank.c | 6 +----- newlib/libc/ctype/iscntrl.c | 6 +----- newlib/libc/ctype/isdigit.c | 6 +----- newlib/libc/ctype/islower.c | 6 +----- newlib/libc/ctype/isprint.c | 7 +------ newlib/libc/ctype/ispunct.c | 6 +----- newlib/libc/ctype/isspace.c | 6 +----- newlib/libc/ctype/isupper.c | 6 +----- newlib/libc/ctype/iswalnum.c | 7 +------ newlib/libc/ctype/iswalpha.c | 7 +------ newlib/libc/ctype/iswblank.c | 7 +------ newlib/libc/ctype/iswcntrl.c | 7 +------ newlib/libc/ctype/iswctype.c | 8 +------- newlib/libc/ctype/iswdigit.c | 7 +------ newlib/libc/ctype/iswgraph.c | 7 +------ newlib/libc/ctype/iswlower.c | 7 +------ newlib/libc/ctype/iswprint.c | 7 +------ newlib/libc/ctype/iswpunct.c | 7 +------ newlib/libc/ctype/iswspace.c | 7 +------ newlib/libc/ctype/iswupper.c | 7 +------ newlib/libc/ctype/iswxdigit.c | 7 +------ newlib/libc/ctype/isxdigit.c | 6 +----- newlib/libc/ctype/toascii.c | 7 +------ newlib/libc/ctype/tolower.c | 7 +------ newlib/libc/ctype/toupper.c | 7 +------ newlib/libc/ctype/towctrans.c | 8 +------- newlib/libc/ctype/towlower.c | 7 +------ newlib/libc/ctype/towupper.c | 7 +------ newlib/libc/ctype/wctrans.c | 7 +------ newlib/libc/ctype/wctype.c | 7 +------ 33 files changed, 33 insertions(+), 189 deletions(-) -- 2.15.0 diff --git a/newlib/libc/ctype/isalnum.c b/newlib/libc/ctype/isalnum.c index 113ef0232..ebb414c69 100644 --- a/newlib/libc/ctype/isalnum.c +++ b/newlib/libc/ctype/isalnum.c @@ -7,17 +7,13 @@ INDEX INDEX isalnum_l -ANSI_SYNOPSIS +SYNOPSIS #include int isalnum(int <[c]>); #include int isalnum_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isalnum(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table diff --git a/newlib/libc/ctype/isalpha.c b/newlib/libc/ctype/isalpha.c index 59511e18e..7a737a527 100644 --- a/newlib/libc/ctype/isalpha.c +++ b/newlib/libc/ctype/isalpha.c @@ -8,17 +8,13 @@ INDEX INDEX isalpha_l -ANSI_SYNOPSIS +SYNOPSIS #include int isalpha(int <[c]>); #include int isalpha_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isalpha(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero when <[c]> represents an diff --git a/newlib/libc/ctype/isascii.c b/newlib/libc/ctype/isascii.c index 45e19efd3..71f299fa0 100644 --- a/newlib/libc/ctype/isascii.c +++ b/newlib/libc/ctype/isascii.c @@ -8,17 +8,13 @@ INDEX INDEX isascii_l -ANSI_SYNOPSIS +SYNOPSIS #include int isascii(int <[c]>); #include int isascii_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isascii(<[c]>); - DESCRIPTION <> is a macro which returns non-zero when <[c]> is an ASCII character, and 0 otherwise. It is defined for all integer values. diff --git a/newlib/libc/ctype/isblank.c b/newlib/libc/ctype/isblank.c index db62a2681..e054b947c 100644 --- a/newlib/libc/ctype/isblank.c +++ b/newlib/libc/ctype/isblank.c @@ -8,17 +8,13 @@ INDEX INDEX isblank_l -ANSI_SYNOPSIS +SYNOPSIS #include int isblank(int <[c]>); #include int isblank_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isblank(<[c]>); - DESCRIPTION <> is a function which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for blank characters, and 0 diff --git a/newlib/libc/ctype/iscntrl.c b/newlib/libc/ctype/iscntrl.c index d78c957f8..b57b71790 100644 --- a/newlib/libc/ctype/iscntrl.c +++ b/newlib/libc/ctype/iscntrl.c @@ -8,17 +8,13 @@ INDEX INDEX iscntrl_l -ANSI_SYNOPSIS +SYNOPSIS #include int iscntrl(int <[c]>); #include int iscntrl_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iscntrl(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for control characters, and 0 diff --git a/newlib/libc/ctype/isdigit.c b/newlib/libc/ctype/isdigit.c index 06f14221d..5cd411b65 100644 --- a/newlib/libc/ctype/isdigit.c +++ b/newlib/libc/ctype/isdigit.c @@ -8,17 +8,13 @@ INDEX INDEX isdigit_l -ANSI_SYNOPSIS +SYNOPSIS #include int isdigit(int <[c]>); #include int isdigit_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isdigit(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for decimal digits, and 0 for diff --git a/newlib/libc/ctype/islower.c b/newlib/libc/ctype/islower.c index 466252a63..a6fb889a1 100644 --- a/newlib/libc/ctype/islower.c +++ b/newlib/libc/ctype/islower.c @@ -8,17 +8,13 @@ INDEX INDEX islower_l -ANSI_SYNOPSIS +SYNOPSIS #include int islower(int <[c]>); #include int islower_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int islower(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for minuscules diff --git a/newlib/libc/ctype/isprint.c b/newlib/libc/ctype/isprint.c index 21fdf5b1d..afabe8b1d 100644 --- a/newlib/libc/ctype/isprint.c +++ b/newlib/libc/ctype/isprint.c @@ -14,7 +14,7 @@ INDEX INDEX isgraph_l -ANSI_SYNOPSIS +SYNOPSIS #include int isprint(int <[c]>); int isgraph(int <[c]>); @@ -23,11 +23,6 @@ ANSI_SYNOPSIS int isprint_l(int <[c]>, locale_t <[locale]>); int isgraph_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isprint(<[c]>); - int isgraph(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for printable characters, diff --git a/newlib/libc/ctype/ispunct.c b/newlib/libc/ctype/ispunct.c index 4fb62197d..83796dc1c 100644 --- a/newlib/libc/ctype/ispunct.c +++ b/newlib/libc/ctype/ispunct.c @@ -8,17 +8,13 @@ INDEX INDEX ispunct_l -ANSI_SYNOPSIS +SYNOPSIS #include int ispunct(int <[c]>); #include int ispunct_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int ispunct(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for printable diff --git a/newlib/libc/ctype/isspace.c b/newlib/libc/ctype/isspace.c index 2a19518eb..68dc5cb1d 100644 --- a/newlib/libc/ctype/isspace.c +++ b/newlib/libc/ctype/isspace.c @@ -8,17 +8,13 @@ INDEX INDEX isspace_l -ANSI_SYNOPSIS +SYNOPSIS #include int isspace(int <[c]>); #include int isspace_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isspace(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for whitespace diff --git a/newlib/libc/ctype/isupper.c b/newlib/libc/ctype/isupper.c index e36b3a35d..10fa230bd 100644 --- a/newlib/libc/ctype/isupper.c +++ b/newlib/libc/ctype/isupper.c @@ -8,17 +8,13 @@ INDEX INDEX isupper_l -ANSI_SYNOPSIS +SYNOPSIS #include int isupper(int <[c]>); #include int isupper_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isupper(<[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for uppercase letters diff --git a/newlib/libc/ctype/iswalnum.c b/newlib/libc/ctype/iswalnum.c index 76fa5042c..d9295434d 100644 --- a/newlib/libc/ctype/iswalnum.c +++ b/newlib/libc/ctype/iswalnum.c @@ -8,18 +8,13 @@ INDEX INDEX iswalnum_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswalnum(wint_t <[c]>); #include int iswalnum_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswalnum(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are alphanumeric. diff --git a/newlib/libc/ctype/iswalpha.c b/newlib/libc/ctype/iswalpha.c index 92fad8e04..973aa09b4 100644 --- a/newlib/libc/ctype/iswalpha.c +++ b/newlib/libc/ctype/iswalpha.c @@ -37,18 +37,13 @@ INDEX INDEX iswalpha_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswalpha(wint_t <[c]>); #include int iswalpha_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswalpha(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are alphabetic. diff --git a/newlib/libc/ctype/iswblank.c b/newlib/libc/ctype/iswblank.c index ca448a997..b83683d94 100644 --- a/newlib/libc/ctype/iswblank.c +++ b/newlib/libc/ctype/iswblank.c @@ -37,18 +37,13 @@ INDEX INDEX iswblank_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswblank(wint_t <[c]>); #include int iswblank_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswblank(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are categorized as blank. diff --git a/newlib/libc/ctype/iswcntrl.c b/newlib/libc/ctype/iswcntrl.c index d094d19ed..c96ed343a 100644 --- a/newlib/libc/ctype/iswcntrl.c +++ b/newlib/libc/ctype/iswcntrl.c @@ -37,18 +37,13 @@ INDEX INDEX iswcntrl_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswcntrl(wint_t <[c]>); #include int iswcntrl_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswcntrl(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are categorized as control characters. diff --git a/newlib/libc/ctype/iswctype.c b/newlib/libc/ctype/iswctype.c index ff8e3246b..bfa7b003c 100644 --- a/newlib/libc/ctype/iswctype.c +++ b/newlib/libc/ctype/iswctype.c @@ -8,19 +8,13 @@ INDEX INDEX iswctype_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswctype(wint_t <[c]>, wctype_t <[desc]>); #include int iswctype_l(wint_t <[c]>, wctype_t <[desc]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswctype(<[c]>, <[desc]>) - wint_t <[c]>; - wctype_t <[desc]>; - DESCRIPTION <> is a function which classifies wide-character values using the wide-character test specified by <[desc]>. diff --git a/newlib/libc/ctype/iswdigit.c b/newlib/libc/ctype/iswdigit.c index 7c3ad4be0..7926f8dc2 100644 --- a/newlib/libc/ctype/iswdigit.c +++ b/newlib/libc/ctype/iswdigit.c @@ -8,18 +8,13 @@ INDEX INDEX iswdigit_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswdigit(wint_t <[c]>); #include int iswdigit_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswdigit(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are decimal digits. diff --git a/newlib/libc/ctype/iswgraph.c b/newlib/libc/ctype/iswgraph.c index 17e3060e5..90e1f97fa 100644 --- a/newlib/libc/ctype/iswgraph.c +++ b/newlib/libc/ctype/iswgraph.c @@ -37,18 +37,13 @@ INDEX INDEX iswgraph_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswgraph(wint_t <[c]>); #include int iswgraph_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswgraph(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are graphic. diff --git a/newlib/libc/ctype/iswlower.c b/newlib/libc/ctype/iswlower.c index 9d3b8441f..19cfdc420 100644 --- a/newlib/libc/ctype/iswlower.c +++ b/newlib/libc/ctype/iswlower.c @@ -8,18 +8,13 @@ INDEX INDEX iswlower_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswlower(wint_t <[c]>); #include int iswlower_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswlower(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that have uppercase translations. diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c index aad34acab..51a50019b 100644 --- a/newlib/libc/ctype/iswprint.c +++ b/newlib/libc/ctype/iswprint.c @@ -37,18 +37,13 @@ INDEX INDEX iswprint_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswprint(wint_t <[c]>); #include int iswprint_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswprint(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are printable. diff --git a/newlib/libc/ctype/iswpunct.c b/newlib/libc/ctype/iswpunct.c index 8b1791b03..b1069a202 100644 --- a/newlib/libc/ctype/iswpunct.c +++ b/newlib/libc/ctype/iswpunct.c @@ -37,18 +37,13 @@ INDEX INDEX iswpunct_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswpunct(wint_t <[c]>); #include int iswpunct_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswpunct(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are punctuation. diff --git a/newlib/libc/ctype/iswspace.c b/newlib/libc/ctype/iswspace.c index 40a667cd4..d6ba3e97d 100644 --- a/newlib/libc/ctype/iswspace.c +++ b/newlib/libc/ctype/iswspace.c @@ -37,18 +37,13 @@ INDEX INDEX iswspace_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswspace(wint_t <[c]>); #include int iswspace_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswspace(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that are categorized as whitespace. diff --git a/newlib/libc/ctype/iswupper.c b/newlib/libc/ctype/iswupper.c index 588e7f173..49f009346 100644 --- a/newlib/libc/ctype/iswupper.c +++ b/newlib/libc/ctype/iswupper.c @@ -8,18 +8,13 @@ INDEX INDEX iswupper_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswupper(wint_t <[c]>); #include int iswupper_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswupper(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide-character values that have uppercase translations. diff --git a/newlib/libc/ctype/iswxdigit.c b/newlib/libc/ctype/iswxdigit.c index 7cd3abbd5..3f47962f1 100644 --- a/newlib/libc/ctype/iswxdigit.c +++ b/newlib/libc/ctype/iswxdigit.c @@ -8,18 +8,13 @@ INDEX INDEX iswxdigit_l -ANSI_SYNOPSIS +SYNOPSIS #include int iswxdigit(wint_t <[c]>); #include int iswxdigit_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int iswxdigit(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which classifies wide character values that are hexadecimal digits. diff --git a/newlib/libc/ctype/isxdigit.c b/newlib/libc/ctype/isxdigit.c index b55ba9c13..f5e858c94 100644 --- a/newlib/libc/ctype/isxdigit.c +++ b/newlib/libc/ctype/isxdigit.c @@ -8,17 +8,13 @@ INDEX INDEX isxdigit_l -ANSI_SYNOPSIS +SYNOPSIS #include int isxdigit(int <[c]>); #include int isxdigit_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int isxdigit(int <[c]>); - DESCRIPTION <> is a macro which classifies singlebyte charset values by table lookup. It is a predicate returning non-zero for hexadecimal digits, diff --git a/newlib/libc/ctype/toascii.c b/newlib/libc/ctype/toascii.c index 945e91883..450e231a3 100644 --- a/newlib/libc/ctype/toascii.c +++ b/newlib/libc/ctype/toascii.c @@ -8,18 +8,13 @@ INDEX INDEX toascii_l -ANSI_SYNOPSIS +SYNOPSIS #include int toascii(int <[c]>); #include int toascii_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int toascii(<[c]>); - int (<[c]>); - DESCRIPTION <> is a macro which coerces integers to the ASCII range (0--127) by zeroing any higher-order bits. diff --git a/newlib/libc/ctype/tolower.c b/newlib/libc/ctype/tolower.c index d1850ede5..5ebd3cd96 100644 --- a/newlib/libc/ctype/tolower.c +++ b/newlib/libc/ctype/tolower.c @@ -11,7 +11,7 @@ INDEX INDEX _tolower -ANSI_SYNOPSIS +SYNOPSIS #include int tolower(int <[c]>); int _tolower(int <[c]>); @@ -19,11 +19,6 @@ ANSI_SYNOPSIS #include int tolower_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int tolower(<[c]>); - int _tolower(<[c]>); - DESCRIPTION <> is a macro which converts uppercase characters to lowercase, diff --git a/newlib/libc/ctype/toupper.c b/newlib/libc/ctype/toupper.c index dc800e449..d9089a95b 100644 --- a/newlib/libc/ctype/toupper.c +++ b/newlib/libc/ctype/toupper.c @@ -11,7 +11,7 @@ INDEX INDEX _toupper -ANSI_SYNOPSIS +SYNOPSIS #include int toupper(int <[c]>); int _toupper(int <[c]>); @@ -19,11 +19,6 @@ ANSI_SYNOPSIS #include int toupper_l(int <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - int toupper(<[c]>); - int _toupper(<[c]>); - DESCRIPTION <> is a macro which converts lowercase characters to uppercase, diff --git a/newlib/libc/ctype/towctrans.c b/newlib/libc/ctype/towctrans.c index a9eaf495d..5528542ff 100644 --- a/newlib/libc/ctype/towctrans.c +++ b/newlib/libc/ctype/towctrans.c @@ -37,19 +37,13 @@ INDEX INDEX towctrans_l -ANSI_SYNOPSIS +SYNOPSIS #include wint_t towctrans(wint_t <[c]>, wctrans_t <[w]>); #include wint_t towctrans_l(wint_t <[c]>, wctrans_t <[w]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - wint_t towctrans(<[c]>, <[w]>) - wint_t <[c]>; - wctrans_t <[w]>; - DESCRIPTION <> is a function which converts wide characters based on diff --git a/newlib/libc/ctype/towlower.c b/newlib/libc/ctype/towlower.c index b69c8ffe5..4485fdef4 100644 --- a/newlib/libc/ctype/towlower.c +++ b/newlib/libc/ctype/towlower.c @@ -37,18 +37,13 @@ INDEX INDEX towlower_l -ANSI_SYNOPSIS +SYNOPSIS #include wint_t towlower(wint_t <[c]>); #include wint_t towlower_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - wint_t towlower(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which converts uppercase wide characters to diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c index 1e4d0f5cb..06d12ea99 100644 --- a/newlib/libc/ctype/towupper.c +++ b/newlib/libc/ctype/towupper.c @@ -37,18 +37,13 @@ INDEX INDEX towupper_l -ANSI_SYNOPSIS +SYNOPSIS #include wint_t towupper(wint_t <[c]>); #include wint_t towupper_l(wint_t <[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - wint_t towupper(<[c]>) - wint_t <[c]>; - DESCRIPTION <> is a function which converts lowercase wide characters to diff --git a/newlib/libc/ctype/wctrans.c b/newlib/libc/ctype/wctrans.c index b3ad0bbdb..dd5b28c4b 100644 --- a/newlib/libc/ctype/wctrans.c +++ b/newlib/libc/ctype/wctrans.c @@ -37,18 +37,13 @@ INDEX INDEX wctrans_l -ANSI_SYNOPSIS +SYNOPSIS #include wctrans_t wctrans(const char *<[c]>); #include wctrans_t wctrans_l(const char *<[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - wctrans_t wctrans(<[c]>) - const char * <[c]>; - DESCRIPTION <> is a function which takes a string <[c]> and gives back diff --git a/newlib/libc/ctype/wctype.c b/newlib/libc/ctype/wctype.c index f32c42151..c1a70eebb 100644 --- a/newlib/libc/ctype/wctype.c +++ b/newlib/libc/ctype/wctype.c @@ -37,18 +37,13 @@ INDEX INDEX wctype_l -ANSI_SYNOPSIS +SYNOPSIS #include wctype_t wctype(const char *<[c]>); #include wctype_t wctype_l(const char *<[c]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - wctype_t wctype(<[c]>) - const char * <[c]>; - DESCRIPTION <> is a function which takes a string <[c]> and gives back From patchwork Thu Nov 30 10:28:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120105 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486107qgn; Thu, 30 Nov 2017 02:29:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMYT64dORW/nbyat49Myg7NgFUz60tHK1Zwoby1C1BnIX45e7UUaBsxu2yP6HZmORlB2lr1r X-Received: by 10.99.171.6 with SMTP id p6mr2011220pgf.30.1512037781006; Thu, 30 Nov 2017 02:29:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037781; cv=none; d=google.com; s=arc-20160816; b=Axsy6zgvMwLRhNVxFRNSBZZ8qc5GhUSCtiYQONvCezzPWPyK9CiVou3WrSPPHM+CnT pMVqFXIVG7DVx4bKb2lu5ZAqlFlkqcLujPi/8ZjluA1kEXBlfi5ETrGQ22Qc6z2dfm0F 13/KGvrGHcren6ZqvQ8516G4+OQ8ioHJQwhCPPzB3X2mJl0ZVEtfuLKf4FOEm0f28UTF RajLDyaHSXZ0ni5q8suhAtaDRjhYBAiW9FQzl8w/x3bqpS9XdglhpoGNcSJHJGHUrSRi /iQqzm7ZtmnVxEDebwOSRaAF5wf7h0H2VzLmSrYecKj4vvBuzHov2n3RhTwUdOGi8gUO AtlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=JFZKhJxhPd8KY/N6B0PvW/BOCQRoLo8APdWDzpIJMW8=; b=gpTqwGDBMrndkD/BqUG8j7C6qm01IV38avVJt+c0Qzl6Z6pqvpzrJ/zdskm1cvFdDw Fj68gFYcNBFUOeFaB6BMn5HXpEWRkSnckXnzgMzFL8aaWHI7HSG4yk3v60p4D1GTweup Sui/31ML+hd31ORPOhDI86vavR1raDgfRytvhWsM/LiZUWdGPt96yt/hxpnEGqZ+6ioM 4/n9QENI37CDAtA55MZxZGouv6kJemjts8PE6eqrwp1Y1BkYOXdjr7RZ43+TObHmww0e ToxJfIUME9PF+G6w+WXGg4VqbP405g7p69ASDyBhyMlpCYL6vf2AKqXjFS0CeB3Kb8RM 3rWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=mlJQ1GJo; spf=pass (google.com: domain of newlib-return-15420-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15420-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id i187si3020035pfc.213.2017.11.30.02.29.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:29:40 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15420-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=mlJQ1GJo; spf=pass (google.com: domain of newlib-return-15420-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15420-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=A4xDegPWnleqU5CQNe/hqrlRx7HKXbt 4t/flEGFpSQXIQkgdbgL+Tdv42LGawlTVfFgCFaxWMnbTbF+VvMhoTyR2gxJ0PZL BYFT+s9r3fPyFTp4bcJpaaq3fa0LYnGxN7Qo1PIKLlRPFVSyy4yxy9tRnQ2vIg93 gdwbiHp+SlfE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=aL6JcCeJswxOcO41k6IKq97LbnA=; b=mlJQ1 GJoiR0IVZtbbI7V51s+J1o72rm7EbGwpz5n7dhF1bVj1z8BUmajnyX6DpHWFIjcV WisVkBq8JFur4JK5ewy1D8NbLDmDTvXlE3Ul3E/tkbwRRIJPp0/bfMc9VvBSGmW/ XUWbJqGpc1b9+W9I+YLigc0DPjnpJZajiXJeLE= Received: (qmail 84161 invoked by alias); 30 Nov 2017 10:29:13 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 84032 invoked by uid 89); 30 Nov 2017 10:29:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:10 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EFF9A820F4 for ; Thu, 30 Nov 2017 10:29:08 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF7AC5C88D for ; Thu, 30 Nov 2017 10:29:08 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 02/24] iconv: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:36 -0600 Message-Id: <20171130102858.16160-3-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/iconv/lib/iconv.c | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) -- 2.15.0 diff --git a/newlib/libc/iconv/lib/iconv.c b/newlib/libc/iconv/lib/iconv.c index 8214a7874..9d9d6a717 100644 --- a/newlib/libc/iconv/lib/iconv.c +++ b/newlib/libc/iconv/lib/iconv.c @@ -41,7 +41,7 @@ INDEX INDEX _iconv_close_r -ANSI_SYNOPSIS +SYNOPSIS #include iconv_t iconv_open (const char *<[to]>, const char *<[from]>); int iconv_close (iconv_t <[cd]>); @@ -58,44 +58,6 @@ ANSI_SYNOPSIS size_t *<[inbytesleft]>, char **<[outbuf]>, size_t *<[outbytesleft]>); -TRAD_SYNOPSIS - #include - size_t iconv (<[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>); - iconv_t <[cd]>; - char **<[in]>; - size_t *<[inleft]>; - char **<[out]>; - size_t *<[outleft]>); - - #include - iconv_t iconv_open (<[to]>, <[from]>); - const char *<[to]>; - const char *<[from]>; - - #include - int iconv_close (<[cd]>); - iconv_t <[cd]>; - - #include - size_t _iconv_r (<[rptr]>, <[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>); - struct _reent *<[rptr]>; - iconv_t <[cd]>; - const char **<[in]>; - size_t *<[inleft]>; - char **<[out]>; - size_t *<[outleft]>); - - #include - iconv_t _iconv_open_r (<[rptr]>, <[to]>, <[from]>); - struct _reent *<[rptr]>; - const char *<[to]>; - const char *<[from]>; - - #include - int iconv_close (<[rptr]>, <[cd]>); - struct _reent *<[rptr]>; - iconv_t <[cd]>; - DESCRIPTION The function <> converts characters from <[in]> which are in one encoding to characters of another encoding, outputting them to <[out]>. From patchwork Thu Nov 30 10:28:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120103 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp485869qgn; Thu, 30 Nov 2017 02:29:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMYb8PDWZNmbi7f22K74gc2AM3DfjhvEAdF+LhkxsJadgKQcxqMd0+MTj2JIlx6y+xKcvvLx X-Received: by 10.101.65.5 with SMTP id w5mr1864214pgp.301.1512037762378; Thu, 30 Nov 2017 02:29:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037762; cv=none; d=google.com; s=arc-20160816; b=zzybhcZGn9kFpmflxVRhx5Ryz3ZSVNaREIt9Ey8i7dNIVQmHGODfTqI/TQi3F9QZ15 YgSLlAWJaR5/WiSfesRLUAvsHOKFLp3egTu5qVxy02fj3wluajhVQjt9fmXFpU2wQTI8 P1oio+Z/M+URCt167SMQYGmNtlBX54LHmbz/19TSvx1H2LXOUuOye7m+3Lru6CdDSnIG y+g3XA2RHSlBksZHBGHPqrZs9abhh3ivg2QF8qIo/RLYzvDxDsq/mAyGzSf+Z0xRI8q8 YHKw83GwPms+CSFUupCn9IV754yWFvCpCy3tdM/JDmL5iD9qqv7ysoJlHwN/eOVcYzI2 NkEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=JzdaCAEi8Zgh10BjSEzT3793avVP46KGgN7W1FhDung=; b=ATv94fhYVjw6jn3JBL2JbFabNhWmBAHiUr8SR9hjPecoWFfc5XZDh9K2363fST0sbO Gv0pgKXa5pwiauHAzFLv5ysWsoa5t1LXhcXi9M4M0fxi1n8S7a9wh922NgUQ1F1wcv8M r20va98pfAYyO2GFyh9teAli/SHY66iRofEcG0EekuRoUoeyXkQWtdH6RMxKSG4bPDrh 7BR4UOOeJPuHjS/fHZo8Eg5/ZP7M+hbym8ImfrXp54XOkqpqyWKklnijilydfWmHkixs zReaCJQTngzlntmQEXRyWIz9u+im8NdHn2y0Govtkz2bLqDrgEbJ3jfrYsEwC80W6FZH gl4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=U69Eo9Cc; spf=pass (google.com: domain of newlib-return-15418-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15418-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id b3si2889641pls.370.2017.11.30.02.29.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:29:22 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15418-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=U69Eo9Cc; spf=pass (google.com: domain of newlib-return-15418-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15418-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=pURO81aSZnzaYBNU7ZlbnuisIuOg+0y 09aTEO2asx9m19PkspyKOjP8wHSl0hSPLD/4sCGR0Cf3rGcIfIm4ST0yNCglrrkD NnOSn+QbuRIk7qclniJ0tA5SlUcPM4LJubiOFvY9yDlI13rcKldMO8Ppe2PQTQ+6 LXqYm1XMPvl4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=TCGgCtQl7fX6HTuxgg6MeR7/oL4=; b=U69Eo 9CcRKRALv/DyrZlaVL0uRA5L/jBaMJp038eUT3qszliEXg0RETRhKGWnZdCxP2tB 5hh3hnirKKQSnDZWCWDzBWI9x6uKE/X7EMUkH0SPUYfNSL1fqjla8c97lWLBzMh9 3170e9pX9IrI6yXqLOYd+YmljC1J8DlJyAsJN8= Received: (qmail 84028 invoked by alias); 30 Nov 2017 10:29:12 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 84013 invoked by uid 89); 30 Nov 2017 10:29:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=ANSI, Hx-languages-length:2604, international X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:10 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 60F6E80469 for ; Thu, 30 Nov 2017 10:29:09 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1D39A5C88D for ; Thu, 30 Nov 2017 10:29:09 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 03/24] locale: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:37 -0600 Message-Id: <20171130102858.16160-4-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/locale/duplocale.c | 2 +- newlib/libc/locale/freelocale.c | 2 +- newlib/libc/locale/locale.c | 18 +----------------- newlib/libc/locale/newlocale.c | 2 +- newlib/libc/locale/uselocale.c | 2 +- 5 files changed, 5 insertions(+), 21 deletions(-) -- 2.15.0 diff --git a/newlib/libc/locale/duplocale.c b/newlib/libc/locale/duplocale.c index 9f6156cb4..d3e7d782e 100644 --- a/newlib/libc/locale/duplocale.c +++ b/newlib/libc/locale/duplocale.c @@ -8,7 +8,7 @@ INDEX INDEX _duplocale_r -ANSI_SYNOPSIS +SYNOPSIS #include locale_t duplocale(locale_t <[locobj]>); diff --git a/newlib/libc/locale/freelocale.c b/newlib/libc/locale/freelocale.c index dd3c0f95e..f5d55f5e2 100644 --- a/newlib/libc/locale/freelocale.c +++ b/newlib/libc/locale/freelocale.c @@ -8,7 +8,7 @@ INDEX INDEX _freelocale_r -ANSI_SYNOPSIS +SYNOPSIS #include locale_t freelocale(locale_t <[locobj]>); diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index b5402372c..073189a29 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -11,7 +11,7 @@ INDEX INDEX _localeconv_r -ANSI_SYNOPSIS +SYNOPSIS #include char *setlocale(int <[category]>, const char *<[locale]>); lconv *localeconv(void); @@ -20,22 +20,6 @@ ANSI_SYNOPSIS int <[category]>, const char *<[locale]>); lconv *_localeconv_r(void *<[reent]>); -TRAD_SYNOPSIS - #include - char *setlocale(<[category]>, <[locale]>) - int <[category]>; - char *<[locale]>; - - lconv *localeconv(); - - char *_setlocale_r(<[reent]>, <[category]>, <[locale]>) - char *<[reent]>; - int <[category]>; - char *<[locale]>; - - lconv *_localeconv_r(<[reent]>); - char *<[reent]>; - DESCRIPTION <> is the facility defined by ANSI C to condition the execution environment for international collating and formatting diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c index c8176256e..c6c2a9ca9 100644 --- a/newlib/libc/locale/newlocale.c +++ b/newlib/libc/locale/newlocale.c @@ -8,7 +8,7 @@ INDEX INDEX _newlocale_r -ANSI_SYNOPSIS +SYNOPSIS #include locale_t newlocale(int <[category_mask]>, const char *<[locale]>, locale_t <[locobj]>); diff --git a/newlib/libc/locale/uselocale.c b/newlib/libc/locale/uselocale.c index 810590fc0..83ebcdd19 100644 --- a/newlib/libc/locale/uselocale.c +++ b/newlib/libc/locale/uselocale.c @@ -8,7 +8,7 @@ INDEX INDEX _uselocale_r -ANSI_SYNOPSIS +SYNOPSIS #include locale_t uselocale(locale_t <[locobj]>); From patchwork Thu Nov 30 10:28:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120117 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp492666qgn; Thu, 30 Nov 2017 02:36:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMbS0G7K8mQffxZ+kEKifGqcsIVI9/8hKv34zBuF4BIu9bs8GLq+d1hR9dyChobjGu6v+7Sp X-Received: by 10.159.233.135 with SMTP id bh7mr2147791plb.52.1512038204925; Thu, 30 Nov 2017 02:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038204; cv=none; d=google.com; s=arc-20160816; b=W5LJjz6kySF58rfzJDEmDvVBARpMNqLCot/X4MG25SAvZtMmlGO7IVQbJHQYFRKBJK inDG76+9NiRO2IL6CtF8L4XxcJjF9QFubrlpQ7l9xHkl5Hp+14O7kq4N/Y1wzuaYzeUL znIniJrvpiwSwKAuOJpLXfoI/gCNscHZxYkHCiY7UxBS3iMxEPIo0u19VHKa82W2btXc RSwKws/D2cSuTp2rZzZS/DbBtAsm6bT+WaJXcJyt+r9OGBLT+58bfgP+pIA3MJpu50pt Va0PZNvHE275dZf29UgOoKXQoiXxTXJJDXzHs6ndVVgMmUYpfrM9FDQhZGwYT+Qj5spT Wlcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=FJiRzewyee88xTeg5pj6CBLhiFWk8SaxxRuwe90kk50=; b=yJtysylFqTDY9rMkX7BmE1G2gua4ZJogZ2ZzuHQkEDPISftdpBVbD0aVAgyDTW9LxR 13fRd+CRgboiyPkUZZU2lbod4iawXG10+0dYTQUqHmtq9lMYw5HqJmrE65c7PSvcWkQl iD5XbFxIN58qmGkzJu/jhTW8TihgxpwG4XNDQForFH3k+pAx29uKq80FQIAT5j+MT2oa 5r9oKxX3sGazEcWVx3LQNWH4Qd089w3i3QTVxZkDH1wpGOkNUHkE2rArowDns79UdH3x LtEqkgEEmVS3/MzUO/WXZA52EaGF3j8OZjKJFvMsqiFEAWdyrh+uo+gTWYkYFnvAqcVR hcbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=hXyYBm1M; spf=pass (google.com: domain of newlib-return-15432-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15432-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id m6si2808956pgu.691.2017.11.30.02.36.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:36:44 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15432-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=hXyYBm1M; spf=pass (google.com: domain of newlib-return-15432-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15432-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=qM+pHk9VvIIdIX8ZTG1qNPbuOns5lDj xyJCgRa6e2cWHxEoJMapmOU8FDkyxYU4ZSYuhgG5GIOXYtYzb4qS49VPb7Hb/jFh HYHeWgDVZybPRu9GM+nW4GMOpE4aYw/TsF953yFihxnAczI6eQa0tKC7I4iWDjRH F5RCPXEqszY0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=/OcAircHAHSvuEZmNwmEzdMS8Hk=; b=hXyYB m1M/XTlYLwnOp6DS6xYGj/CoCTOiUBE0u+zhRuAtruxy8amjHh9JZ+sz3USuLfOP WUK1iPv2B9gF9+UzC4hQwu0r57WeupDannetz0blvEARvzLcllc1ssl2r+sNmAj0 XQh3iMPju9uAO/L3fHEfeg2/+YNBWIAj1EuSnU= Received: (qmail 106590 invoked by alias); 30 Nov 2017 10:36:36 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 106562 invoked by uid 89); 30 Nov 2017 10:36:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:2596 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:34 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3DEC4A6F3 for ; Thu, 30 Nov 2017 10:29:09 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7F3801750E for ; Thu, 30 Nov 2017 10:29:09 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 04/24] microblaze: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:38 -0600 Message-Id: <20171130102858.16160-5-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/machine/microblaze/abort.c | 6 +----- newlib/libc/machine/microblaze/strcmp.c | 8 +------- newlib/libc/machine/microblaze/strcpy.c | 8 +------- newlib/libc/machine/microblaze/strlen.c | 7 +------ 4 files changed, 4 insertions(+), 25 deletions(-) -- 2.15.0 diff --git a/newlib/libc/machine/microblaze/abort.c b/newlib/libc/machine/microblaze/abort.c index b2c5a00b2..82daebe43 100644 --- a/newlib/libc/machine/microblaze/abort.c +++ b/newlib/libc/machine/microblaze/abort.c @@ -15,14 +15,10 @@ FUNCTION INDEX abort -ANSI_SYNOPSIS +SYNOPSIS #include void abort(void); -TRAD_SYNOPSIS - #include - void abort(); - DESCRIPTION Use <> to signal that your program has detected a condition it cannot deal with. Normally, <> ends your program's execution. diff --git a/newlib/libc/machine/microblaze/strcmp.c b/newlib/libc/machine/microblaze/strcmp.c index 2f0337412..fc7dc2143 100644 --- a/newlib/libc/machine/microblaze/strcmp.c +++ b/newlib/libc/machine/microblaze/strcmp.c @@ -34,16 +34,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/machine/microblaze/strcpy.c b/newlib/libc/machine/microblaze/strcpy.c index 0819ee511..44ba382c7 100644 --- a/newlib/libc/machine/microblaze/strcpy.c +++ b/newlib/libc/machine/microblaze/strcpy.c @@ -34,16 +34,10 @@ FUNCTION INDEX strcpy -ANSI_SYNOPSIS +SYNOPSIS #include char *strcpy(char *restrict <[dst]>, const char *restrict <[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/machine/microblaze/strlen.c b/newlib/libc/machine/microblaze/strlen.c index 51387cd9c..ddd9e6a82 100644 --- a/newlib/libc/machine/microblaze/strlen.c +++ b/newlib/libc/machine/microblaze/strlen.c @@ -34,15 +34,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 From patchwork Thu Nov 30 10:28:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120119 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp493059qgn; Thu, 30 Nov 2017 02:37:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMaR3hFuCFB+NjC0N1ovB5KWawyYmO8lHxyCVT0ztw7U/YYqD9EN6u/a0fsxoThml2OCZwpi X-Received: by 10.159.204.147 with SMTP id t19mr2175187plo.222.1512038231541; Thu, 30 Nov 2017 02:37:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038231; cv=none; d=google.com; s=arc-20160816; b=Xj269Je4BoXqBjChO3/p3d7HUPfpdp5Tz59pKdxhUdkf2xRkmh31WB1lBdIgLRbYUj Q+uXK4xkGZtzy3Cz9JwLJINtNweVxN9jJKdoPqfpUJCWqzUXm0SV8u2mVJEYSdtCVdJd rVoYQQltYD5L9P4N4rqxM2+mJkKBDshUPXa2vBqm3dZLpl8jnNtzaYZBGTHt6O6fj1oY 9bYSQafmzr6B+5ghd110qe9PWBZ1i1xMSzR69GgR893oChb7xkmQVA4qhGg7WQvLih/n 0sWGnA5H7WmBSvlOgSU/hXnSXvxjWcakgjTleRs7KTkseBnO/nsQ6g0vy15nialp2CkC +e6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=y8qUdKJOi+Ce0EYd5j4rcGLqLizaaQGcj+1NhCQBDrk=; b=yMYINXb+NHHQ6wZTSnkHKCUk9JqzHKp4VBhMiVJZDVdWf1p2XtzHwodZrBtMu6vSoe y97RvD2iUy9ZL1TmZARrUgXiD/o1/IAwfnlBrEIcVZz8/HQtcR95+dnHKPwIGQSs4Zqj eKSf2j//RRJ9wfqD8x55jWHTWrFx7Vn86AtLXa5+rYQNYIK+ZVJ5GOPmvtHbgxdV8DwW FlnqFm9dJ7+sG+rVXSzH/Jhd15jrowShnNnIRrzwFgYmR40ARal+fyyvy1nU7Pw2yxjX DMtLP10P55Vist25pokx3TKPGc2llgAkBJ2ARcBtLzN+57r2UV5+iv88P2ra9iDGb4ec 32RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=sWZlNH/u; spf=pass (google.com: domain of newlib-return-15434-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15434-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id a6si3012495plt.76.2017.11.30.02.37.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:37:11 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15434-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=sWZlNH/u; spf=pass (google.com: domain of newlib-return-15434-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15434-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=fW9OJ5aBxFnKDxDUUm/uG2QE6RQwU9H 24PMPPvhCA1p3gVBUCo62/Pz657URJ601LNfzzuMVYItlAHnJ+zePubyWsYGS0hF pnKIAbZ5zWlULiUGP9eCs0W3+G3ckwRGerNe6FF3vjG6U1EX2BVb1niWR7/Dm+Aj c3lWsxocQ7EQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=ycNdX/p58LaGdpKvlzHPe0tiehs=; b=sWZlN H/ufqUI7QwYY//SX6wiqxTvMFuLuLVBP52x18aI47DR1nSYDaQqh8AX4gkWaWz8X kLuEzwPez6veEyd+In2nhWWjj2PHrtSxxQSUGbcancwsfF/ZMicWJ88xXQ9erEfA x6PiC5LiuQ0D1YqF8VnOSnj57GmmvFFTSz0ovA= Received: (qmail 108645 invoked by alias); 30 Nov 2017 10:37:01 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 108607 invoked by uid 89); 30 Nov 2017 10:37:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:59 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 35BD0356EB for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E4C804DA18 for ; Thu, 30 Nov 2017 10:29:09 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 05/24] nds32: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:39 -0600 Message-Id: <20171130102858.16160-6-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/machine/nds32/abort.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 2.15.0 diff --git a/newlib/libc/machine/nds32/abort.c b/newlib/libc/machine/nds32/abort.c index 724562a84..abceb4b8b 100644 --- a/newlib/libc/machine/nds32/abort.c +++ b/newlib/libc/machine/nds32/abort.c @@ -5,14 +5,10 @@ FUNCTION INDEX abort -ANSI_SYNOPSIS +SYNOPSIS #include void abort(void); -TRAD_SYNOPSIS - #include - void abort(); - DESCRIPTION Use <> to signal that your program has detected a condition it cannot deal with. Normally, <> ends your program's execution. From patchwork Thu Nov 30 10:28:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120124 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp494789qgn; Thu, 30 Nov 2017 02:39:14 -0800 (PST) X-Google-Smtp-Source: AGs4zMZZShKj+iledXzBmr5dUiCv64H2v9eLSh8Ibo7+uuOM5zDPlcgiGqKbxhB0Xfu12acEKlTN X-Received: by 10.98.110.193 with SMTP id j184mr6219754pfc.187.1512038354832; Thu, 30 Nov 2017 02:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038354; cv=none; d=google.com; s=arc-20160816; b=coJAFdJ53Ao1FY8klvqXyI+F01qyNN66RpLVmfcKI/3hazuvwrSbvrwTeG9lylRn0O CQeob7vi/FK74fc3O2PWhn4h1XdIaBJubjxLYptMfNx3DhWy/2Cz1FeNuQnJlWVQlheh GgL7X2eo3uem/jJpu8iiOoWosQdHajaTyqiCKGdXk2FMi1mKkY4gDuBNSuq3T0dCjv+w ktNkRxUaYLhai2nkiR0K5beO/HWE7k/QmZR2OJxt5rFVC1xsI/WsXwwPM/qcGtPpPD6a LDSzYeL28M7o25jz4GCtGvmC8V/axuJ139iBB55LA1E8wt/q6s0RweYp4D6asZtJzRQf 7b7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=fxstFqisQAUBHooOMPmS63WS6NGqzFbektIStdGOHwM=; b=kRApxoZlUZ2IhX4F7JIVMdu2vnhdO9LLKR+1iN8Y5moKGIAhXM1L6hIwd1tqq5fWf3 k7mfvwHM/18dpKu5xuwVZIdyQl5dL2lxqqnlu80a1+GqK6CAijt4Rtt7KN+tm8qrQPSX mK6qDvfcQ+1zX3XPp+XhJCp1NcpPAZNZP7WYkKCL0b8EYcjPpjOx4x2wl2qqAO8xPUEh fcWe80GBE6ocBmlEZd6ZtPx4dUXjbyZpjMeWd5f/UnX1TF+O8pazMpzwKm8/G00/2/xo j9QEYPg73HNudZ7jcPHvQiSTerJrdp8b4f+IYVhffddHVpa7aQe9gtou/xLkWI5raSA1 TqCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=E0jUsgV/; spf=pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15439-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 43si2911845plb.94.2017.11.30.02.39.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:39:14 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=E0jUsgV/; spf=pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15439-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=GwH9ij7lUDLjl7W9/QufloTBoXJTAOd TmtR1J47OfxuF8ELE3+gSULzyJlbADLsPc++2xwnP6f72LgG9AcLH836TmALehQ6 58JweIqMb1NI4ao/vou+nWYudA9LpBCV+KxvStwHe3wbc2SI5ilE1PmAwkQTbOSb lesBOS/CHdEs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=N4/PKRXHCD/Y5aT5IpfviGJSW9g=; b=E0jUs gV/RjHw17D9OZRsytXQXaHxZLPgUJ6Gp6hYDMV79JBtqduuIo1KwtUQYtyCt/b3n pcGxk5FFVzzMIhwN5+lBp2cFxql8cpglO+ML4rB6OI/lP+tPkALWKG4ZG155g3gM dqNh1cT2imune/x+Ei7s/hBHRxTFvBS5fUkXII= Received: (qmail 114151 invoked by alias); 30 Nov 2017 10:39:02 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 114136 invoked by uid 89); 30 Nov 2017 10:39:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2529 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:39:00 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9A37D820E2 for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 537F05C88D for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 06/24] powerpc: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:40 -0600 Message-Id: <20171130102858.16160-7-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/machine/powerpc/atosfix16.c | 25 +--------------- newlib/libc/machine/powerpc/atoufix16.c | 25 +--------------- newlib/libc/machine/powerpc/strtosfix16.c | 31 +------------------ newlib/libc/machine/powerpc/strtoufix16.c | 31 +------------------ newlib/libc/machine/powerpc/vec_calloc.c | 14 +-------- newlib/libc/machine/powerpc/vec_malloc.c | 28 +----------------- newlib/libc/machine/powerpc/vfprintf.c | 49 +------------------------------ newlib/libc/machine/powerpc/vfscanf.c | 36 +---------------------- 8 files changed, 8 insertions(+), 231 deletions(-) -- 2.15.0 diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c index 501c0f1cb..30379c579 100644 --- a/newlib/libc/machine/powerpc/atosfix16.c +++ b/newlib/libc/machine/powerpc/atosfix16.c @@ -15,7 +15,7 @@ INDEX INDEX _atosfix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __int16_t atosfix16(const char *<[s]>); __int32_t atosfix32(const char *<[s]>); @@ -25,29 +25,6 @@ ANSI_SYNOPSIS __int32_t _atosfix32_r(struct __reent *, const char *<[s]>); __int64_t _atosfix32_r(struct __reent *, const char *<[s]>); -TRAD_SYNOPSIS - #include - __int16_t atosfix16(<[s]>) - const char *<[s]>; - - __int32_t atosfix32(<[s]>) - const char *<[s]>; - - __int64_t atosfix64(<[s]>) - const char *<[s]>; - - __int16_t _atosfix16_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __int32_t _atosfix32_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __int64_t _atosfix64_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - DESCRIPTION <> converts the initial portion of a string to a sign + 15-bit fraction fixed point value. diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c index 53db13764..45d130fac 100644 --- a/newlib/libc/machine/powerpc/atoufix16.c +++ b/newlib/libc/machine/powerpc/atoufix16.c @@ -15,7 +15,7 @@ INDEX INDEX _atoufix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __uint16_t atoufix16(const char *<[s]>); __uint32_t atoufix32(const char *<[s]>); @@ -25,29 +25,6 @@ ANSI_SYNOPSIS __uint32_t _atoufix32_r(struct __reent *, const char *<[s]>); __uint64_t _atoufix32_r(struct __reent *, const char *<[s]>); -TRAD_SYNOPSIS - #include - __uint16_t atoufix16(<[s]>) - const char *<[s]>; - - __uint32_t atoufix32(<[s]>) - const char *<[s]>; - - __uint64_t atoufix64(<[s]>) - const char *<[s]>; - - __uint16_t _atoufix16_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __uint32_t _atoufix32_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __uint64_t _atoufix64_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - DESCRIPTION <> converts the initial portion of a string to a 16-bit fraction unsigned fixed point value. diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c index d3cfe0781..e39887dc1 100644 --- a/newlib/libc/machine/powerpc/strtosfix16.c +++ b/newlib/libc/machine/powerpc/strtosfix16.c @@ -15,7 +15,7 @@ INDEX INDEX _strtosfix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __int16 strtosfix16 (const char *<[s]>, char **<[ptr]>); @@ -32,35 +32,6 @@ ANSI_SYNOPSIS __int64 _strtosfix64_r (void *<[reent]>, const char *<[s]>, char **<[ptr]>); -TRAD_SYNOPSIS - #include - __int16 strtosfix16 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int32 strtosfix32 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int64 strtosfix64 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int16 _strtosfix16_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __int32 _strtosfix32_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __int64 _strtosfix64_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a fixed-point sign + 15-bits fraction representation. The function diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c index d90255c0e..3bf2d6b29 100644 --- a/newlib/libc/machine/powerpc/strtoufix16.c +++ b/newlib/libc/machine/powerpc/strtoufix16.c @@ -15,7 +15,7 @@ INDEX INDEX _strtoufix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __uint16_t strtoufix16 (const char *<[s]>, char **<[ptr]>); @@ -32,35 +32,6 @@ ANSI_SYNOPSIS __uint64_t _strtoufix64_r (void *<[reent]>, const char *<[s]>, char **<[ptr]>); -TRAD_SYNOPSIS - #include - __uint16_t strtoufix16 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint32_t strtoufix32 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint64_t strtoufix64 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint16_t _strtoufix16_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __uint32_t _strtoufix32_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __uint64_t _strtoufix64_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a fixed-point 16-bits fraction representation. The function diff --git a/newlib/libc/machine/powerpc/vec_calloc.c b/newlib/libc/machine/powerpc/vec_calloc.c index 5efe91049..8b2e835f0 100644 --- a/newlib/libc/machine/powerpc/vec_calloc.c +++ b/newlib/libc/machine/powerpc/vec_calloc.c @@ -8,22 +8,10 @@ INDEX INDEX _vec_calloc_r -ANSI_SYNOPSIS +SYNOPSIS #include void *vec_calloc(size_t <[n]>, size_t <[s]>); void *vec_calloc_r(void *<[reent]>, size_t , <[s]>); - -TRAD_SYNOPSIS - #include - char *vec_calloc(<[n]>, <[s]>) - size_t <[n]>, <[s]>; - - char *_vec_calloc_r(<[reent]>, <[n]>, <[s]>) - char *<[reent]>; - size_t <[n]>; - size_t <[s]>; - - DESCRIPTION Use <> to request a block of memory sufficient to hold an diff --git a/newlib/libc/machine/powerpc/vec_malloc.c b/newlib/libc/machine/powerpc/vec_malloc.c index 6bcad59b6..181f360f0 100644 --- a/newlib/libc/machine/powerpc/vec_malloc.c +++ b/newlib/libc/machine/powerpc/vec_malloc.c @@ -15,7 +15,7 @@ INDEX INDEX _vec_free_r -ANSI_SYNOPSIS +SYNOPSIS #include void *vec_malloc(size_t <[nbytes]>); void *vec_realloc(void *<[aptr]>, size_t <[nbytes]>); @@ -27,32 +27,6 @@ ANSI_SYNOPSIS void *<[aptr]>, size_t <[nbytes]>); void _vec_free_r(void *<[reent]>, void *<[aptr]>); - -TRAD_SYNOPSIS - #include - char *vec_malloc(<[nbytes]>) - size_t <[nbytes]>; - - char *vec_realloc(<[aptr]>, <[nbytes]>) - char *<[aptr]>; - size_t <[nbytes]>; - - void vec_free(<[aptr]>) - char *<[aptr]>; - - char *_vec_malloc_r(<[reent]>,<[nbytes]>) - char *<[reent]>; - size_t <[nbytes]>; - - char *_vec_realloc_r(<[reent]>, <[aptr]>, <[nbytes]>) - char *<[reent]>; - char *<[aptr]>; - size_t <[nbytes]>; - - void _vec_free_r(<[reent]>, <[aptr]>) - char *<[reent]>; - char *<[aptr]>; - DESCRIPTION These functions manage a pool of system memory that is 16-byte aligned.. diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c index d264e2673..e0b90fcde 100644 --- a/newlib/libc/machine/powerpc/vfprintf.c +++ b/newlib/libc/machine/powerpc/vfprintf.c @@ -11,7 +11,7 @@ INDEX INDEX vsnprintf -ANSI_SYNOPSIS +SYNOPSIS #include #include int vprintf(const char *<[fmt]>, va_list <[list]>); @@ -28,53 +28,6 @@ ANSI_SYNOPSIS int _vsnprintf_r(void *<[reent]>, char *<[str]>, size_t <[size]>, const char *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vprintf( <[fmt]>, <[list]>) - char *<[fmt]>; - va_list <[list]>; - - int vfprintf(<[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsprintf(<[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int vsnprintf(<[str]>, <[size]>, <[fmt]>, <[list]>) - char *<[str]>; - size_t <[size]>; - char *<[fmt]>; - va_list <[list]>; - - int _vprintf_r(<[reent]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfprintf_r(<[reent]>, <[fp]>, <[fmt]>, <[list]>) - char *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsprintf_r(<[reent]>, <[str]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsnprintf_r(<[reent]>, <[str]>, <[size]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - size_t <[size]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, <> and <> are (respectively) variants of <>, <>, <> and <>. They differ diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c index 1520ceab8..6cbc624de 100644 --- a/newlib/libc/machine/powerpc/vfscanf.c +++ b/newlib/libc/machine/powerpc/vfscanf.c @@ -9,7 +9,7 @@ INDEX INDEX vsscanf -ANSI_SYNOPSIS +SYNOPSIS #include #include int vscanf(const char *restrict <[fmt]>, va_list <[list]>); @@ -23,40 +23,6 @@ ANSI_SYNOPSIS int _vsscanf_r(void *<[reent]>, const char *restrict <[str]>, const char *restrict <[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vscanf( <[fmt]>, <[ist]>) - char *<[fmt]>; - va_list <[list]>; - - int vfscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsscanf( <[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>) - char *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - char *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in From patchwork Thu Nov 30 10:28:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120120 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp493197qgn; Thu, 30 Nov 2017 02:37:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMYzgkM6NGReklMzyqIidc2fG5Bp6MIvoo4TVGkbmxiT5JQpJOsysgADtRuZVU6/H9mqOhTR X-Received: by 10.98.11.218 with SMTP id 87mr6102482pfl.228.1512038240770; Thu, 30 Nov 2017 02:37:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038240; cv=none; d=google.com; s=arc-20160816; b=gKI64hhHw/6AuBk7lxazajJL53tuIQK6eJoMI2qUcnSbnjBoYQft94XHGbYHQOJPg/ oaIq8uvKLf0tMUqNH4Tulhf8mPgW3kuBZ2GE+2Wy7PhkCjhbGwvQlTVCze36XOLyl1P8 0P+LCIpmxfqIX4vd9RwXGfEFP6UX+1hywm56+kPjFYugT7JGoQqEP/m2CNheShN9tXnd gn8k4pbSS17d+oXOP/okxX8u6rlw5PUBsh2lyTvyeEmYi3fwfLycl4arugE0ukJB74L4 6B9YP1DrO268umQaT6zDK/HJ2fx5oqvMfcR4cGXEmNcLOPQs+Pn7Y7yeeEx8g6xt6+I/ gwoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=Xb4lZHi4LvAVOtXU9ppDXKEideXWzA2I71x0stLgLQg=; b=kqU5zb/D6iwWwWHodhfHyt1Ts9JoxOm2AzfscBAuT8pW11zy6AlQ212mh1OC82hsPA EJC14yvYuCqlT6II2P8WNYetw4KRDZr0RIEnqXPuyvj39/uInyRMrVp4lTM3Qo6IWGyK mbtd6QIN3XNMEn2iypkJELkvFm7shWtdtp3wlrGTW/IguW5jLjLe+8lhZJhtSudSkgiI bbPgWPFpM5x+6/pqaQZvM/Rvmst1arYi14FGKnOu+ZoJcpmNSvHfKiTtYHfWOjzTTFMe YiHt793xnHZID56y6RmdEltrJjO0Uo2K4eBNoQpqThyZqzTl0msKBcPPT3lIMTY9rblP iMVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=HKKgCVno; spf=pass (google.com: domain of newlib-return-15435-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15435-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id b126si2788234pgc.595.2017.11.30.02.37.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:37:20 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15435-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=HKKgCVno; spf=pass (google.com: domain of newlib-return-15435-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15435-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=INvBYiCpFQTdXRmsl/64rroZ/YfA/yB Qbc0QRMCEGB83NwvGKlD7NCcA58V85UVnseUXyaVzNCITi1zfDyV0cPSx5XMg6pN CsNFOxfYie0Rca4a5T2lQ68DMr1u+zsmWGSBQD9xd2Rr2cn1ZbEEuL9dU5C66NKb Bo0QeojmIlCs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=uiUUou1J4DKoyKwJZjVNWPUIxVg=; b=HKKgC VnoPR++/YtRVh6J7RXhnDu13jyHG1ZL/4S7aXtRcpdHfPdlqQol1CUXIHMhzQToF yAyXaHh7KY3HwGGGcliyZJoLKhfcAdtYZFQy8ShH99c7LOX6C/QhwGhawbSGD1uv miIVjkVELaCMaI09wPtaJo1jxLjjrLxpmj0WE0= Received: (qmail 108667 invoked by alias); 30 Nov 2017 10:37:01 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 108625 invoked by uid 89); 30 Nov 2017 10:37:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1488 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:59 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 094FF356EA for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB17C4DA0B for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 07/24] misc: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:41 -0600 Message-Id: <20171130102858.16160-8-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/misc/ffs.c | 6 +----- newlib/libc/misc/lock.c | 2 +- newlib/libc/misc/unctrl.c | 7 +------ 3 files changed, 3 insertions(+), 12 deletions(-) -- 2.15.0 diff --git a/newlib/libc/misc/ffs.c b/newlib/libc/misc/ffs.c index ba5700920..068f25481 100644 --- a/newlib/libc/misc/ffs.c +++ b/newlib/libc/misc/ffs.c @@ -5,14 +5,10 @@ FUNCTION INDEX ffs -ANSI_SYNOPSIS +SYNOPSIS #include int ffs(int <[word]>); -TRAD_SYNOPSIS - #include - int ffs(<[word]>); - DESCRIPTION <> returns the first bit set in a word. diff --git a/newlib/libc/misc/lock.c b/newlib/libc/misc/lock.c index a76317668..545511e78 100644 --- a/newlib/libc/misc/lock.c +++ b/newlib/libc/misc/lock.c @@ -42,7 +42,7 @@ INDEX INDEX __retarget_lock_release_recursive -ANSI_SYNOPSIS +SYNOPSIS #include struct __lock __lock___sinit_recursive_mutex; struct __lock __lock___sfp_recursive_mutex; diff --git a/newlib/libc/misc/unctrl.c b/newlib/libc/misc/unctrl.c index fa0b90ff1..e2cdb3861 100644 --- a/newlib/libc/misc/unctrl.c +++ b/newlib/libc/misc/unctrl.c @@ -7,16 +7,11 @@ INDEX INDEX unctrllen -ANSI_SYNOPSIS +SYNOPSIS #include char *unctrl(int <[c]>); int unctrllen(int <[c]>); -TRAD_SYNOPSIS - #include - char *unctrl(<[c]>); - int unctrllen(<[c]>); - DESCRIPTION <> is a macro which returns the printable representation of <[c]> as a string. From patchwork Thu Nov 30 10:28:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120118 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp492785qgn; Thu, 30 Nov 2017 02:36:53 -0800 (PST) X-Google-Smtp-Source: AGs4zMZEeNSg2QDHw6bakaYQEhoYn5XRH5QR3Lqen+NqzcTH9r9KCyrFhTYlKsnNuZVtF3441dQn X-Received: by 10.159.198.9 with SMTP id f9mr2164457plo.74.1512038213398; Thu, 30 Nov 2017 02:36:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038213; cv=none; d=google.com; s=arc-20160816; b=mEZDG6fUBoP7YCVuYu0PcWT4NHoG5Cyb0t6IAqYWTmvaXkVQ98/vXkspzSyCA6+xQV zN34vuHDRDMNbGbmGWrOad/OOrEXhkJWR3wz1q+YrMl87DFIgH5/Z/Dat6U1VKieLNrP iCc8X20AhphMMA7RQGsii2yMienZt7Nimkz4oyKEbc1tVFRnoHEBWE2RMpSS4vrSnv2n W8lnqgpYv7Kk98F9hx/fhEIyQlUnPO5LpROIuuyns0eJesXl8vtPbqXkNGivJFUjG7zH MMAgvUMDCOaix3IMBOQir8yyyiP5dC5hWo2buzliizgmSxFGRk1oDevQXf3hpO5f4Nln Mh1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=wnzCYaBULEx/LyP49Rz0BIezeoh6sF6YwPLZCkNnJCk=; b=A7vOd/b7vimSeSZgwGMrqAx1i+CPKkj+9DrqsB93wBBBYDe2hBPiSkck32A04vtO+3 2jBeL6QVMs60cWKwzHHB1qeWcakM3uWgKirYtucMA4gj5cGkpiwVmHxupoDXuxNsrRQU yVYolP/t5Ea+EH8syqKeBGP0q01qLF/jKF2XeUZpgJ4HZ5LCzMypDj/4O8m/revfSKCk wqG/7CFSxgCcJoarikJES2KR8+HMQIRHTINg1/duVBvWxcrfj+q7P6bOm7pz5QUB8wJT S4SogBnEueMOUIP4Yxn/62FAc3Gc0pbuq5Qih554JHv/zDXXG1Gep4QRwcbBr/yzgxPo Ibwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=e3wZ8/VX; spf=pass (google.com: domain of newlib-return-15433-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15433-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id w125si2821376pgb.296.2017.11.30.02.36.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15433-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=e3wZ8/VX; spf=pass (google.com: domain of newlib-return-15433-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15433-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=veym3ekpqqar+F4r/P31Sk3vg3fPWuS vNj7Rdk/ssFrI+DqpYI46boU2L7kHmZzwK+Zg4pa6zp5VRjQxb0ymhsAfJmsAiWH Dl6H0LtxaGvkvLfiM9IKv81dOU4a4CQflgrP8fHyJhCmE7QZNSKnZU+Nft+BWCQm mUHZxlstmpPo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=ta2Hm1FozeTCbtt0OBSQkz6FxrY=; b=e3wZ8 /VXuXe4EXQGTOHacR8tzaapS9WSC+0rPb0mMYubb8/rOrZ6GiKYjv5X8NHuYSgtA V+xQilHg2TyWiT3C8EnfBUzEFj+37K6y5j/HCvw7Fk5h/AMiPQ3FT9kjDGFaoAuo wuRvwlopi5zgVu6qYRK7ITV7nUvlkJCL+4/5dI= Received: (qmail 107004 invoked by alias); 30 Nov 2017 10:36:39 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 106905 invoked by uid 89); 30 Nov 2017 10:36:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:37 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6C8AC81DF7 for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2AED04DA0B for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 08/24] posix: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:42 -0600 Message-Id: <20171130102858.16160-9-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> --- newlib/libc/posix/popen.c | 2 +- newlib/libc/posix/posix_spawn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.15.0 diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c index faf72b6e3..f9abfac3f 100644 --- a/newlib/libc/posix/popen.c +++ b/newlib/libc/posix/popen.c @@ -41,7 +41,7 @@ INDEX INDEX pclose -ANSI_SYNOPSIS +SYNOPSIS #include FILE *popen(const char *<[s]>, const char *<[mode]>); diff --git a/newlib/libc/posix/posix_spawn.c b/newlib/libc/posix/posix_spawn.c index e5655e29a..61d36304d 100644 --- a/newlib/libc/posix/posix_spawn.c +++ b/newlib/libc/posix/posix_spawn.c @@ -33,7 +33,7 @@ INDEX INDEX posix_spawnp -ANSI_SYNOPSIS +SYNOPSIS #include int posix_spawn(pid_t *<[pid]>, const char *<[path]>, From patchwork Thu Nov 30 10:28:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120116 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp490868qgn; Thu, 30 Nov 2017 02:34:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMbp1cljUldHKqwhpD9GLoCKF+IGbevJ/8GO7F7t81sbBuzgJ9lUVqtpw696TXoeum1nndYW X-Received: by 10.99.186.70 with SMTP id l6mr1911046pgu.253.1512038081569; Thu, 30 Nov 2017 02:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038081; cv=none; d=google.com; s=arc-20160816; b=y8qfxWGD9Gb++YlsOnYRkZA+qnHAcqVGtPnJ9lDRwJALUMaBWCeeKU2uf3UJrZKgB4 zv4MRXphODv2RdSH3Zo+kZtX66LshVM0jShCQ40DVE6mOhS5XloDOgqSfjzW25BmOkOO TVHg0IpbAU4VyggwDLKI9wDzo/b+MZ9mhhDiKV9VULJPpxpwYhmf7sxr3oBsDw5s8BqS fof8EKUBIsIF5v3kOjZ90FRqnFsn0ShURwYImlzmhwQB0/fds/bSxs3lP1Ci9uHEmaOB 0aUq5ftGpU8uehLg6Z24KupMttf3oT1XLdJ5W4SlUh4yzz7lO/XmaSGxGGcjt5iSmupJ OXyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=On/89SiJlqiaVjMSXUUsgAQGJp3Kbz0ZBYk2eSkZHbs=; b=SFwF55YwY9244ZPLsyWIobKh+FY4b4buQuIE7DuhnZ+GU9w0uau8AIS+//RP1ke2Op EtNeXAXD+stthdBwOJgzHPovcU7SHYpFJlljKa67mrFTYhRo9S1ZgjIKSIWzV+NOycOn GSvsq6ROVFJ7brYEdyLpHBjwQ0DibK+OSayqyS8KPPD6d5LSB3Xy+PsDNoFwUCgM7lD6 Hunwtj/AhL0+jBuNJ+qCwjzow16z1XOjRnaeZ319WcCWgOxJt/6WScxcxljb3JxLwHUT uFcTSRZZHnlBKSTlsvmatexpA+t04POsPsE0sx4oaQqsguOMnsOXg5oYPeJevzYdEsWg rK6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NgGTSCAw; spf=pass (google.com: domain of newlib-return-15431-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15431-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id d9si2792763pgo.542.2017.11.30.02.34.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:34:41 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15431-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NgGTSCAw; spf=pass (google.com: domain of newlib-return-15431-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15431-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=t372kLAvJEjIoJGqsek+ExFQ0dQ3/uS f2Mb9N3n/zli5IVmwDHUzijKGMaUlD5DFETDtX7qpnJSIjxebU2B2qzBHNmJM3Ya l/720xAJDJdCiGM5kJujtr/foTrmUPvmpRO8skZjbvRjLLHTEF0VzemwL2RZsUfY TI/9x0VdLWYw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=Uak/d8qXzwFsF/ak0Ran1ErJQIc=; b=NgGTS CAws+p3c5lxQdMCFq9XnTSkresEDZ9k9W5Q7HffDKgwaHEfY2P0eFO/3VuvHdJB8 luq2Y3HJWrryx/8Wb/HgQH8oSgLBAQ7f8g4d1obxafZtp4txcbujGR1ckQ0gaGnK hi7coHM3M1dwI733zOpq2ZFLrEBRm1IQfXYCn4= Received: (qmail 102827 invoked by alias); 30 Nov 2017 10:34:29 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 102745 invoked by uid 89); 30 Nov 2017 10:34:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=3311, 2819 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:34:21 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E74FFC02738B for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8E3514DA18 for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 09/24] reent: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:43 -0600 Message-Id: <20171130102858.16160-10-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/reent/closer.c | 8 +------- newlib/libc/reent/execr.c | 25 +++---------------------- newlib/libc/reent/fcntlr.c | 10 +--------- newlib/libc/reent/fstat64r.c | 9 +-------- newlib/libc/reent/fstatr.c | 9 +-------- newlib/libc/reent/gettimeofdayr.c | 10 +--------- newlib/libc/reent/isattyr.c | 8 +------- newlib/libc/reent/linkr.c | 9 +-------- newlib/libc/reent/lseek64r.c | 10 +--------- newlib/libc/reent/lseekr.c | 10 +--------- newlib/libc/reent/mkdirr.c | 9 +-------- newlib/libc/reent/open64r.c | 10 +--------- newlib/libc/reent/openr.c | 10 +--------- newlib/libc/reent/readr.c | 10 +--------- newlib/libc/reent/renamer.c | 9 +-------- newlib/libc/reent/sbrkr.c | 8 +------- newlib/libc/reent/signalr.c | 16 ++-------------- newlib/libc/reent/stat64r.c | 9 +-------- newlib/libc/reent/statr.c | 9 +-------- newlib/libc/reent/timesr.c | 9 +-------- newlib/libc/reent/unlinkr.c | 8 +------- newlib/libc/reent/writer.c | 10 +--------- 22 files changed, 25 insertions(+), 200 deletions(-) -- 2.15.0 diff --git a/newlib/libc/reent/closer.c b/newlib/libc/reent/closer.c index aeacebd6c..deb34b002 100644 --- a/newlib/libc/reent/closer.c +++ b/newlib/libc/reent/closer.c @@ -26,16 +26,10 @@ FUNCTION INDEX _close_r -ANSI_SYNOPSIS +SYNOPSIS #include int _close_r(struct _reent *<[ptr]>, int <[fd]>); -TRAD_SYNOPSIS - #include - int _close_r(<[ptr]>, <[fd]>) - struct _reent *<[ptr]>; - int <[fd]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c index d8026703a..559ca030a 100644 --- a/newlib/libc/reent/execr.c +++ b/newlib/libc/reent/execr.c @@ -33,19 +33,11 @@ FUNCTION INDEX _execve_r -ANSI_SYNOPSIS +SYNOPSIS #include int _execve_r(struct _reent *<[ptr]>, const char *<[name]>, char *const <[argv]>[], char *const <[env]>[]); -TRAD_SYNOPSIS - #include - int _execve_r(<[ptr]>, <[name]>, <[argv]>, <[env]>) - struct _reent *<[ptr]>; - char *<[name]>; - char *<[argv]>[]; - char *<[env]>[]; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -76,15 +68,10 @@ FUNCTION INDEX _fork_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fork_r(struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int _fork_r(<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -115,16 +102,10 @@ FUNCTION INDEX _wait_r -ANSI_SYNOPSIS +SYNOPSIS #include int _wait_r(struct _reent *<[ptr]>, int *<[status]>); -TRAD_SYNOPSIS - #include - int _wait_r(<[ptr]>, <[status]>) - struct _reent *<[ptr]>; - int *<[status]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fcntlr.c b/newlib/libc/reent/fcntlr.c index d632d183f..328b9de13 100644 --- a/newlib/libc/reent/fcntlr.c +++ b/newlib/libc/reent/fcntlr.c @@ -28,19 +28,11 @@ FUNCTION INDEX _fcntl_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fcntl_r(struct _reent *<[ptr]>, int <[fd]>, int <[cmd]>, <[arg]>); -TRAD_SYNOPSIS - #include - int _fcntl_r(<[ptr]>, <[fd]>, <[cmd]>, <[arg]>) - struct _reent *<[ptr]>; - int <[fd]>; - int <[cmd]>; - int <[arg]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fstat64r.c b/newlib/libc/reent/fstat64r.c index 1c4589713..d9fa8b71f 100644 --- a/newlib/libc/reent/fstat64r.c +++ b/newlib/libc/reent/fstat64r.c @@ -34,18 +34,11 @@ FUNCTION INDEX _fstat64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fstat64_r(struct _reent *<[ptr]>, int <[fd]>, struct stat64 *<[pstat]>); -TRAD_SYNOPSIS - #include - int _fstat64_r(<[ptr]>, <[fd]>, <[pstat]>) - struct _reent *<[ptr]>; - int <[fd]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fstatr.c b/newlib/libc/reent/fstatr.c index 7f5d559da..ec906c98d 100644 --- a/newlib/libc/reent/fstatr.c +++ b/newlib/libc/reent/fstatr.c @@ -32,18 +32,11 @@ FUNCTION INDEX _fstat_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fstat_r(struct _reent *<[ptr]>, int <[fd]>, struct stat *<[pstat]>); -TRAD_SYNOPSIS - #include - int _fstat_r(<[ptr]>, <[fd]>, <[pstat]>) - struct _reent *<[ptr]>; - int <[fd]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c index f5a49f73c..007dff8da 100644 --- a/newlib/libc/reent/gettimeofdayr.c +++ b/newlib/libc/reent/gettimeofdayr.c @@ -35,21 +35,13 @@ FUNCTION INDEX _gettimeofday_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int _gettimeofday_r(struct _reent *<[ptr]>, struct timeval *<[ptimeval]>, void *<[ptimezone]>); -TRAD_SYNOPSIS - #include - #include - int _gettimeofday_r(<[ptr]>, <[ptimeval]>, <[ptimezone]>) - struct _reent *<[ptr]>; - struct timeval *<[ptimeval]>; - void *<[ptimezone]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/isattyr.c b/newlib/libc/reent/isattyr.c index 05d47d323..f21bf25b2 100644 --- a/newlib/libc/reent/isattyr.c +++ b/newlib/libc/reent/isattyr.c @@ -30,17 +30,11 @@ FUNCTION INDEX _isatty_r -ANSI_SYNOPSIS +SYNOPSIS #include int _isatty_r(struct _reent *<[ptr]>, int <[fd]>); -TRAD_SYNOPSIS - #include - int _isatty_r(<[ptr]>, <[fd]>) - struct _reent *<[ptr]>; - int <[fd]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c index ded636af7..8cfdf2f06 100644 --- a/newlib/libc/reent/linkr.c +++ b/newlib/libc/reent/linkr.c @@ -31,18 +31,11 @@ FUNCTION INDEX _link_r -ANSI_SYNOPSIS +SYNOPSIS #include int _link_r(struct _reent *<[ptr]>, const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int _link_r(<[ptr]>, <[old]>, <[new]>) - struct _reent *<[ptr]>; - char *<[old]>; - char *<[new]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c index 0207a1220..1241a27e4 100644 --- a/newlib/libc/reent/lseek64r.c +++ b/newlib/libc/reent/lseek64r.c @@ -28,19 +28,11 @@ FUNCTION INDEX _lseek64_r -ANSI_SYNOPSIS +SYNOPSIS #include off64_t _lseek64_r(struct _reent *<[ptr]>, int <[fd]>, off64_t <[pos]>, int <[whence]>); -TRAD_SYNOPSIS - #include - off64_t _lseek64_r(<[ptr]>, <[fd]>, <[pos]>, <[whence]>) - struct _reent *<[ptr]>; - int <[fd]>; - off64_t <[pos]>; - int <[whence]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c index fa00695a8..cc73ab467 100644 --- a/newlib/libc/reent/lseekr.c +++ b/newlib/libc/reent/lseekr.c @@ -26,19 +26,11 @@ FUNCTION INDEX _lseek_r -ANSI_SYNOPSIS +SYNOPSIS #include off_t _lseek_r(struct _reent *<[ptr]>, int <[fd]>, off_t <[pos]>, int <[whence]>); -TRAD_SYNOPSIS - #include - off_t _lseek_r(<[ptr]>, <[fd]>, <[pos]>, <[whence]>) - struct _reent *<[ptr]>; - int <[fd]>; - off_t <[pos]>; - int <[whence]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c index fe36de11a..eee999e19 100644 --- a/newlib/libc/reent/mkdirr.c +++ b/newlib/libc/reent/mkdirr.c @@ -26,18 +26,11 @@ FUNCTION INDEX _mkdir_r -ANSI_SYNOPSIS +SYNOPSIS #include int _mkdir_r(struct _reent *<[ptr]>, const char *<[path]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _mkdir_r(<[ptr]>, <[path]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[path]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/open64r.c b/newlib/libc/reent/open64r.c index 30310d301..6b39fa1fd 100644 --- a/newlib/libc/reent/open64r.c +++ b/newlib/libc/reent/open64r.c @@ -29,19 +29,11 @@ FUNCTION INDEX _open64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _open64_r(struct _reent *<[ptr]>, const char *<[file]>, int <[flags]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _open64_r(<[ptr]>, <[file]>, <[flags]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[file]>; - int <[flags]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c index 35138c6de..06b203b81 100644 --- a/newlib/libc/reent/openr.c +++ b/newlib/libc/reent/openr.c @@ -27,19 +27,11 @@ FUNCTION INDEX _open_r -ANSI_SYNOPSIS +SYNOPSIS #include int _open_r(struct _reent *<[ptr]>, const char *<[file]>, int <[flags]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _open_r(<[ptr]>, <[file]>, <[flags]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[file]>; - int <[flags]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c index 38c1d9e39..65e0514cf 100644 --- a/newlib/libc/reent/readr.c +++ b/newlib/libc/reent/readr.c @@ -26,19 +26,11 @@ FUNCTION INDEX _read_r -ANSI_SYNOPSIS +SYNOPSIS #include _ssize_t _read_r(struct _reent *<[ptr]>, int <[fd]>, void *<[buf]>, size_t <[cnt]>); -TRAD_SYNOPSIS - #include - _ssize_t _read_r(<[ptr]>, <[fd]>, <[buf]>, <[cnt]>) - struct _reent *<[ptr]>; - int <[fd]>; - char *<[buf]>; - size_t <[cnt]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c index d3951a28d..9b42dc380 100644 --- a/newlib/libc/reent/renamer.c +++ b/newlib/libc/reent/renamer.c @@ -28,18 +28,11 @@ FUNCTION INDEX _rename_r -ANSI_SYNOPSIS +SYNOPSIS #include int _rename_r(struct _reent *<[ptr]>, const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int _rename_r(<[ptr]>, <[old]>, <[new]>) - struct _reent *<[ptr]>; - char *<[old]>; - char *<[new]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c index 44e42b57f..4217174b3 100644 --- a/newlib/libc/reent/sbrkr.c +++ b/newlib/libc/reent/sbrkr.c @@ -30,16 +30,10 @@ FUNCTION INDEX _sbrk_r -ANSI_SYNOPSIS +SYNOPSIS #include void *_sbrk_r(struct _reent *<[ptr]>, ptrdiff_t <[incr]>); -TRAD_SYNOPSIS - #include - void *_sbrk_r(<[ptr]>, <[incr]>) - struct _reent *<[ptr]>; - ptrdiff_t <[incr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c index 161d53091..95dd49ed3 100644 --- a/newlib/libc/reent/signalr.c +++ b/newlib/libc/reent/signalr.c @@ -32,17 +32,10 @@ FUNCTION INDEX _kill_r -ANSI_SYNOPSIS +SYNOPSIS #include int _kill_r(struct _reent *<[ptr]>, int <[pid]>, int <[sig]>); -TRAD_SYNOPSIS - #include - int _kill_r(<[ptr]>, <[pid]>, <[sig]>) - struct _reent *<[ptr]>; - int <[pid]>; - int <[sig]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -71,15 +64,10 @@ FUNCTION INDEX _getpid_r -ANSI_SYNOPSIS +SYNOPSIS #include int _getpid_r(struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int _getpid_r(<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c index 695b7f813..1f175e0a9 100644 --- a/newlib/libc/reent/stat64r.c +++ b/newlib/libc/reent/stat64r.c @@ -33,18 +33,11 @@ FUNCTION INDEX _stat64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _stat64_r(struct _reent *<[ptr]>, const char *<[file]>, struct stat64 *<[pstat]>); -TRAD_SYNOPSIS - #include - int _stat64_r(<[ptr]>, <[file]>, <[pstat]>) - struct _reent *<[ptr]>; - char *<[file]>; - struct stat64 *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c index 9ad2bb209..3500c88b1 100644 --- a/newlib/libc/reent/statr.c +++ b/newlib/libc/reent/statr.c @@ -33,18 +33,11 @@ FUNCTION INDEX _stat_r -ANSI_SYNOPSIS +SYNOPSIS #include int _stat_r(struct _reent *<[ptr]>, const char *<[file]>, struct stat *<[pstat]>); -TRAD_SYNOPSIS - #include - int _stat_r(<[ptr]>, <[file]>, <[pstat]>) - struct _reent *<[ptr]>; - char *<[file]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/timesr.c b/newlib/libc/reent/timesr.c index 1881724ba..efb98b61d 100644 --- a/newlib/libc/reent/timesr.c +++ b/newlib/libc/reent/timesr.c @@ -32,18 +32,11 @@ FUNCTION INDEX _times_r -ANSI_SYNOPSIS +SYNOPSIS #include #include clock_t _times_r(struct _reent *<[ptr]>, struct tms *<[ptms]>); -TRAD_SYNOPSIS - #include - #include - clock_t _times_r(<[ptr]>, <[ptms]>) - struct _reent *<[ptr]>; - struct tms *<[ptms]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c index 95b815f1b..53b8f11e3 100644 --- a/newlib/libc/reent/unlinkr.c +++ b/newlib/libc/reent/unlinkr.c @@ -27,16 +27,10 @@ FUNCTION INDEX _unlink_r -ANSI_SYNOPSIS +SYNOPSIS #include int _unlink_r(struct _reent *<[ptr]>, const char *<[file]>); -TRAD_SYNOPSIS - #include - int _unlink_r(<[ptr]>, <[file]>) - struct _reent *<[ptr]>; - char *<[file]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c index 128f7f7ac..4190a9059 100644 --- a/newlib/libc/reent/writer.c +++ b/newlib/libc/reent/writer.c @@ -26,19 +26,11 @@ FUNCTION INDEX _write_r -ANSI_SYNOPSIS +SYNOPSIS #include _ssize_t _write_r(struct _reent *<[ptr]>, int <[fd]>, const void *<[buf]>, size_t <[cnt]>); -TRAD_SYNOPSIS - #include - _ssize_t _write_r(<[ptr]>, <[fd]>, <[buf]>, <[cnt]>) - struct _reent *<[ptr]>; - int <[fd]>; - char *<[buf]>; - size_t <[cnt]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds From patchwork Thu Nov 30 10:28:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120123 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp493567qgn; Thu, 30 Nov 2017 02:37:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ2lf6g2h95qPB6ICp5js6CmIhmtFACP0PjOK/uV8ZV4FEF4B2Tm3rXRNntUNCsuu4m8m2s X-Received: by 10.98.95.68 with SMTP id t65mr6196031pfb.45.1512038265135; Thu, 30 Nov 2017 02:37:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038265; cv=none; d=google.com; s=arc-20160816; b=iB9jGUXslga1KPQUyUBzkwbCHYNFsIVXRJOsOnebuD1vejAbHG9xU7WLs8BoYwojkM SdBHuFya+telgCrBvJjH6uV4F92uBcbBf12dYNTgvYx2pGAQpMDLI9F+gExWbzOZuAy3 sKVlxJWt8OPMfEJo5kvRqC1aXyz67xp14KD5Sw3Fc27wz3Fa67HTYn4ofaWP27mF33hU etOEQ8sZRVe/NA8s+La4QWL8IKGtf1X+FnsPZwk3TfGexcmkA0g62LZQGwoZGrWpgfCz k+jREl+kCDHOMNreu81bQKSo5f2aCjKahKzgAfc2F549bUps2z68WIKF+8iksjMz1MYX YTAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=o4PF9f7hODYWQ5tofEPg+QQJEJE46buX+XnGIBNDhJ4=; b=E8EmG0QSRGFVHXfx9wpvIHZcKtDtK5a86L7VbeC+9pTzxHKy6zPA00E/V/EQqW4wVC gMeIxGHqQqqw8k0YQGpn+xVM3h1XvYH23HGpv8yg66MQv2jH71QSFolZ6Szv9ld/XRiL 3veugrf4aSnVil4QA35ykdwoxjfQiXDYI2xl/UwIqn2OvPh/bvWtQ3c84w+Xpr9nX+Fl 1jL12sBF7t40GJ7uWcIHCojEadcglKP0jAI9wcJvrSW7nA8Ffqa4+8vyTF72LJxOuaHl FBGRE8iFF9xSSlN8mNjLGPC13mPZfavHRuwKQugV1TsTwkdDe5qeLfwd1kfikOC+2T8+ /nxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=xEiSPNce; spf=pass (google.com: domain of newlib-return-15438-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15438-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id n10si2872379plk.132.2017.11.30.02.37.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:37:45 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15438-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=xEiSPNce; spf=pass (google.com: domain of newlib-return-15438-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15438-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=dSx7ClvRwvz9maEsYKhR6SKooPU7xoq GcSU78liWYtDAGv/yy9hdYB6sLace9AQQxdgveuhq94K7FdXPCXPFl0aw+f5FjRn mZVIqKJYf+4TI6TDpRsw8+82RyGY6ZfCeFRTyWxmeqZiFNqKuqIT/4iTRxDyvU6X /Njay7ryOHrk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=mYgukdqfFDSAS629tc+i18/ZIqw=; b=xEiSP NceJu564kMSRzEKamSn5bbnLdi6BVvByyqUR3OuGyigI4Y4vZkJ/O//1xNGkbjai Xo9EGmDhN2Ti0cRGFKq7lbBJr2DsU5vg0fhnQjAtb+nyS70nQ7qPoJwVvu3l7oI8 n5oRiiYaqX59UaBGWPErc8TdbrKUN1fV1+iDRg= Received: (qmail 109146 invoked by alias); 30 Nov 2017 10:37:04 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 109110 invoked by uid 89); 30 Nov 2017 10:37:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:37:02 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53F6D356FE for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 13A164DA0B for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 10/24] search: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:44 -0600 Message-Id: <20171130102858.16160-11-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/search/bsearch.c | 10 +--------- newlib/libc/search/qsort.c | 10 +--------- newlib/libc/search/qsort_r.c | 11 +---------- 3 files changed, 3 insertions(+), 28 deletions(-) -- 2.15.0 diff --git a/newlib/libc/search/bsearch.c b/newlib/libc/search/bsearch.c index d874e79ae..579633c12 100644 --- a/newlib/libc/search/bsearch.c +++ b/newlib/libc/search/bsearch.c @@ -20,20 +20,12 @@ FUNCTION INDEX bsearch -ANSI_SYNOPSIS +SYNOPSIS #include void *bsearch(const void *<[key]>, const void *<[base]>, size_t <[nmemb]>, size_t <[size]>, int (*<[compar]>)(const void *, const void *)); -TRAD_SYNOPSIS - #include - char *bsearch(<[key]>, <[base]>, <[nmemb]>, <[size]>, <[compar]>) - char *<[key]>; - char *<[base]>; - size_t <[nmemb]>, <[size]>; - int (*<[compar]>)(); - DESCRIPTION <> searches an array beginning at <[base]> for any element that matches <[key]>, using binary search. <[nmemb]> is the element diff --git a/newlib/libc/search/qsort.c b/newlib/libc/search/qsort.c index bf6285f5e..9a8e7fabe 100644 --- a/newlib/libc/search/qsort.c +++ b/newlib/libc/search/qsort.c @@ -5,19 +5,11 @@ FUNCTION INDEX qsort -ANSI_SYNOPSIS +SYNOPSIS #include void qsort(void *<[base]>, size_t <[nmemb]>, size_t <[size]>, int (*<[compar]>)(const void *, const void *) ); -TRAD_SYNOPSIS - #include - qsort(<[base]>, <[nmemb]>, <[size]>, <[compar]> ) - char *<[base]>; - size_t <[nmemb]>; - size_t <[size]>; - int (*<[compar]>)(); - DESCRIPTION <> sorts an array (beginning at <[base]>) of <[nmemb]> objects. <[size]> describes the size of each element of the array. diff --git a/newlib/libc/search/qsort_r.c b/newlib/libc/search/qsort_r.c index 9073061f0..c4b6fb7e2 100644 --- a/newlib/libc/search/qsort_r.c +++ b/newlib/libc/search/qsort_r.c @@ -5,7 +5,7 @@ FUNCTION INDEX qsort_r -ANSI_SYNOPSIS +SYNOPSIS #define _BSD_SOURCE #include void qsort_r(void *<[base]>, size_t <[nmemb]>, size_t <[size]>, @@ -18,15 +18,6 @@ ANSI_SYNOPSIS int (*<[compar]>)(const void *, const void *, void *), void *<[thunk]>); -TRAD_SYNOPSIS - #include - qsort_r(<[base]>, <[nmemb]>, <[size]>, <[compar]>, <[thumb]>) - char *<[base]>; - size_t <[nmemb]>; - size_t <[size]>; - int (*<[compar]>)(); - char *<[thumb]>; - DESCRIPTION <> sorts an array (beginning at <[base]>) of <[nmemb]> objects. <[size]> describes the size of each element of the array. From patchwork Thu Nov 30 10:28:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120107 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486391qgn; Thu, 30 Nov 2017 02:30:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMYk2waiEJ2EUy/4XIDWKnrvd04NfpNiyOMm4KIEdFNDobfQOHppezgBXSGqFtCHxdsFm0aM X-Received: by 10.159.202.141 with SMTP id p13mr2091924plo.432.1512037800221; Thu, 30 Nov 2017 02:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037800; cv=none; d=google.com; s=arc-20160816; b=yVIKqYIRxBHLn8IC9Crak4gJ2OdP2IdgRLQHQMfQAPL7/UykDefpw1jjSDvxltllcw 9z8hPSwKFalZH61MQ4iYUBoYBHDC9HffWT0bdyM1BoDnGVivuy/XhmiRaFxtckxgr5eI BuYuBm9QYhP67mLUSeiQgwKb0LqJngI7Bona4Uw/Z1NzRhB5CtFfWv6ebX8KP0hDNulV 0bcc7T2i3GB0qQZm3oDUPBewOraalKoSStYKrH1ZnTBPvQwq/egHPXvnWyuXRZWxrMBW t9FELVkr607i3xfBBCqNbD7/vq6gSVLLK/+wmueebFnDQ+dm6D76yN5Oc/E4NDG8pOcU pLaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=fp72EqLBgV+uJ5SNY5NC4CKHTMuaEpNNz5ZqdhAJYtE=; b=LvEuvX24+BdZyet99AmnKE622cKh3OVfSJPbjP6Zr9wSfgrtayCccN4Wig0/8DvhsN bSi4LKbYwdcbDHptBvvXOEUjdBidDSxdw3m7yQw9WX0l5xX+QTFjO12HmV+xk2ogyh4s ET3MYaAKA1Vl2ocR29snGBpUgllN2z5qaF+d5symEG6dKhTMxqhjzHTegfaXPXggnKRa 5AENOI2uguACSUAITUd2xalkkAulNRKz+CointcqjPuXkbjf+dSbfS1plspM2BKqkmvX ZD7S+RXL05tRJqPyNDneSBPDcckyKtk3EebI3fE2lRrJqv7EJlT/L0Dl+Y0LMT1RYT2f a7jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=lFOaicZM; spf=pass (google.com: domain of newlib-return-15422-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15422-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id n17si2838174pgc.162.2017.11.30.02.29.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15422-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=lFOaicZM; spf=pass (google.com: domain of newlib-return-15422-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15422-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=cZB6hazAQNJXjSGomLWVjyWrOPttq7o Cb2tCR3gbol58kKxAWGV8w/VDtJN930HW2GNik0LgDIqP+97vaIUxpQLQ1n0Dbsb qpNJD+h5+ubDXHCVnBrn49ekZWIFytKSK63lCwVZ/k3qWuqFUhws4JLacUOopTlZ L9KKFKiPt1vk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=GFGdxe5TK47N8YlQ8tb1rzIrRLM=; b=lFOai cZMnFi361o9cFd0bigRDQZ8c64w5maiAG1CWLMD6/RI4kr+P/wG/rmMKSXCrzflw SSqawwFddBzIRA06r3dVJfjWX6t60U1ouyQ2Gdqs9q/hmR2Miajtb0Oye8yNGg61 SdWwXP3rePjT20gj3Ek8Guw8hA5oArQkZ/x+YM= Received: (qmail 84550 invoked by alias); 30 Nov 2017 10:29:15 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 84499 invoked by uid 89); 30 Nov 2017 10:29:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=1212 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:13 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B7147C01F290 for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 755774DA0B for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 11/24] signal: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:45 -0600 Message-Id: <20171130102858.16160-12-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/signal/psignal.c | 8 +------- newlib/libc/signal/raise.c | 11 +---------- newlib/libc/signal/signal.c | 13 +------------ 3 files changed, 3 insertions(+), 29 deletions(-) -- 2.15.0 diff --git a/newlib/libc/signal/psignal.c b/newlib/libc/signal/psignal.c index 4638518da..f2cfdf3ff 100644 --- a/newlib/libc/signal/psignal.c +++ b/newlib/libc/signal/psignal.c @@ -6,16 +6,10 @@ FUNCTION INDEX psignal -ANSI_SYNOPSIS +SYNOPSIS #include void psignal(int <[signal]>, const char *<[prefix]>); -TRAD_SYNOPSIS - #include - void psignal(<[signal]>, <[prefix]>) - int <[signal]>; - const char *<[prefix]>; - DESCRIPTION Use <> to print (on standard error) a signal message corresponding to the value of the signal number <[signal]>. diff --git a/newlib/libc/signal/raise.c b/newlib/libc/signal/raise.c index bc47864e8..df3ebb50f 100644 --- a/newlib/libc/signal/raise.c +++ b/newlib/libc/signal/raise.c @@ -12,21 +12,12 @@ INDEX INDEX _raise_r -ANSI_SYNOPSIS +SYNOPSIS #include int raise(int <[sig]>); int _raise_r(void *<[reent]>, int <[sig]>); -TRAD_SYNOPSIS - #include - int raise(<[sig]>) - int <[sig]>; - - int _raise_r(<[reent]>, <[sig]>) - char *<[reent]>; - int <[sig]>; - DESCRIPTION Send the signal <[sig]> (one of the macros from `<>'). This interrupts your program's normal flow of execution, and allows a signal diff --git a/newlib/libc/signal/signal.c b/newlib/libc/signal/signal.c index 183004725..5729f65e3 100644 --- a/newlib/libc/signal/signal.c +++ b/newlib/libc/signal/signal.c @@ -7,23 +7,12 @@ INDEX INDEX _signal_r -ANSI_SYNOPSIS +SYNOPSIS #include void (*signal(int <[sig]>, void(*<[func]>)(int))) (int); void (*_signal_r(void *<[reent]>, int <[sig]>, void(*<[func]>)(int))) (int); -TRAD_SYNOPSIS - #include - char ( * signal(<[sig]>, <[func]>) )() - int <[sig]>; - char ( * <[func]> )(); - - char ( * _signal_r(<[reent]>, <[sig]>, <[func]>) )() - char *<[reent]>; - int <[sig]>; - char ( * <[func]> )(); - DESCRIPTION <> provides a simple signal-handling implementation for embedded targets. From patchwork Thu Nov 30 10:28:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120112 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp487244qgn; Thu, 30 Nov 2017 02:30:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMa8t4woAbcUArDFVjvcRySdjugp40kC1cRUNSGOrFycYx7xLlDR2jmRjOrB6QG2SAJCY/+n X-Received: by 10.98.24.207 with SMTP id 198mr6137476pfy.3.1512037854083; Thu, 30 Nov 2017 02:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037854; cv=none; d=google.com; s=arc-20160816; b=1ErIjCnsVwRNwULf1vG1gOyiyvniJLC6+HkOjknE7bCo1H6cVMHsnDSrwaqh2a25cU HKNlu3MX1CLG0ji4y2r0oogYAiwAjMPP8xm8b1sPQ313tskFPXg2VrK6tsNBFtrbpVSz EKsA67FZHxgJd+8eV7RsoZQBlRcipCQ4Tp4kmnlvpMbDLP8+L1Rb/dYJ2ALViuXK8jBb TIjqb/glRpphzGCltXPq0R4VQn15gOPmd1q9zifBxuX5JwgmEiNITMl6yJRzPVQm/F1X JWnojxsc792mdsOkniqwM8lypBUMlJiapPcN16E3Tv3P7Kxd5rdJcalz7ucoMzmO6wUU ntUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=vjWN5s+PcQIyn2y8Um6HdYwkjBMFlwfO93Cm944x0mA=; b=TSGWUY6X4hl+hNOWznwgHxI7Wm4yRKN3bpuzFeKtm8wdVDixf+Mk9j8bGwe8Kj5Uhs iY3sReo4GDxELMxN5g5CPSiGX0qmajCt64aglhL6kMzN0wvxldSeaEHyYDLT50WnlJ3c KTsSKTPSQ1tMQvvmPbp88x5Eypp/3qceQVRBJE/8XRQmhwmw4nlI86UebhmqAfwhDBRX qO7R0TX/2AmGE+lb638x/8MXjtkZU9bPyMUUV9QrKdx7Df00tc3rYOqkOd8Qf5qJjuP2 KECRQCq0/UbK5Hi9nxyRbhqpoebpLt+D0v9PT/lnlo1c81sf8Gp77cPF5wsioCrISZmM 3fiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=N/qNJvrx; spf=pass (google.com: domain of newlib-return-15427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15427-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id d9si2788115pgo.542.2017.11.30.02.30.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:54 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=N/qNJvrx; spf=pass (google.com: domain of newlib-return-15427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15427-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=CjV8phdODiQLovK16qJT1J4xwRU78/5 /yyKGin7gpbqbXi8CF0/BvMclYQS9ky1LkK5JoHcfXaYPn+JaBce/AVudE9/yKAs cXWS8F3X66SNFcDmpxbIVJnHKjqLQJDfyRk3DQZyy0/MUlNiW0Jk0lznn+nUc/CT EKtdJCvMpj8s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=qTVh/umBBuiOUbpd1/8LnZCnzzs=; b=N/qNJ vrx/nkZIlRDnvjWy1dPQCK2ckLZlag1Zai2QICGK2E6Qz503yR1Eubm/kQsZlrFM R8zNleq4FSz8lzbZCgZtiwzaoGRNBqq2t3+J5KGuF6ecNdbRvJAX94oOUzxWVN4L xL6a5sLPCKcjVYra2vWu2w35XGgeNkkRjDRTuo= Received: (qmail 85872 invoked by alias); 30 Nov 2017 10:29:26 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 85520 invoked by uid 89); 30 Nov 2017 10:29:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=collision, orientation X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:14 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B69C6820ED for ; Thu, 30 Nov 2017 10:29:13 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D88BC1750E for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 12/24] stdio: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:46 -0600 Message-Id: <20171130102858.16160-13-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/stdio/clearerr.c | 12 +------- newlib/libc/stdio/diprintf.c | 2 +- newlib/libc/stdio/dprintf.c | 2 +- newlib/libc/stdio/fclose.c | 11 +------- newlib/libc/stdio/fcloseall.c | 9 +----- newlib/libc/stdio/fdopen.c | 13 +-------- newlib/libc/stdio/feof.c | 12 +------- newlib/libc/stdio/ferror.c | 12 +------- newlib/libc/stdio/fflush.c | 2 +- newlib/libc/stdio/fgetc.c | 23 +-------------- newlib/libc/stdio/fgetpos.c | 13 +-------- newlib/libc/stdio/fgets.c | 30 +------------------- newlib/libc/stdio/fgetwc.c | 49 +------------------------------- newlib/libc/stdio/fgetws.c | 30 +------------------- newlib/libc/stdio/fileno.c | 12 +------- newlib/libc/stdio/fmemopen.c | 2 +- newlib/libc/stdio/fopen.c | 13 +-------- newlib/libc/stdio/fopencookie.c | 2 +- newlib/libc/stdio/fpurge.c | 2 +- newlib/libc/stdio/fputc.c | 26 +---------------- newlib/libc/stdio/fputs.c | 26 +---------------- newlib/libc/stdio/fputwc.c | 57 +------------------------------------- newlib/libc/stdio/fputws.c | 26 +---------------- newlib/libc/stdio/fread.c | 34 +---------------------- newlib/libc/stdio/freopen.c | 15 +--------- newlib/libc/stdio/fseek.c | 26 +---------------- newlib/libc/stdio/fseeko.c | 26 +---------------- newlib/libc/stdio/fsetlocking.c | 2 +- newlib/libc/stdio/fsetpos.c | 13 +-------- newlib/libc/stdio/ftell.c | 18 +----------- newlib/libc/stdio/ftello.c | 18 +----------- newlib/libc/stdio/funopen.c | 2 +- newlib/libc/stdio/fwide.c | 13 +-------- newlib/libc/stdio/fwrite.c | 34 +---------------------- newlib/libc/stdio/getc.c | 12 +------- newlib/libc/stdio/getchar.c | 9 +----- newlib/libc/stdio/getdelim.c | 10 +------ newlib/libc/stdio/getline.c | 9 +----- newlib/libc/stdio/gets.c | 12 +------- newlib/libc/stdio/getw.c | 7 +---- newlib/libc/stdio/getwchar.c | 18 +----------- newlib/libc/stdio/mktemp.c | 2 +- newlib/libc/stdio/nano-vfprintf.c | 2 +- newlib/libc/stdio/nano-vfscanf.c | 36 +----------------------- newlib/libc/stdio/open_memstream.c | 2 +- newlib/libc/stdio/perror.c | 11 +------- newlib/libc/stdio/putc.c | 14 +--------- newlib/libc/stdio/putchar.c | 11 +------- newlib/libc/stdio/puts.c | 11 +------- newlib/libc/stdio/putw.c | 8 +----- newlib/libc/stdio/putwchar.c | 21 +------------- newlib/libc/stdio/remove.c | 11 +------- newlib/libc/stdio/rename.c | 8 +----- newlib/libc/stdio/rewind.c | 11 +------- newlib/libc/stdio/setbuf.c | 8 +----- newlib/libc/stdio/setbuffer.c | 9 +----- newlib/libc/stdio/setlinebuf.c | 7 +---- newlib/libc/stdio/setvbuf.c | 10 +------ newlib/libc/stdio/siprintf.c | 2 +- newlib/libc/stdio/siscanf.c | 32 +-------------------- newlib/libc/stdio/sprintf.c | 2 +- newlib/libc/stdio/sscanf.c | 32 +-------------------- newlib/libc/stdio/stdio_ext.c | 2 +- newlib/libc/stdio/swprintf.c | 2 +- newlib/libc/stdio/swscanf.c | 32 +-------------------- newlib/libc/stdio/tmpfile.c | 9 +----- newlib/libc/stdio/tmpnam.c | 20 +------------ newlib/libc/stdio/ungetc.c | 2 +- newlib/libc/stdio/ungetwc.c | 2 +- newlib/libc/stdio/vfprintf.c | 2 +- newlib/libc/stdio/vfscanf.c | 36 +----------------------- newlib/libc/stdio/vfwprintf.c | 2 +- newlib/libc/stdio/vfwscanf.c | 36 +----------------------- newlib/libc/stdio/viprintf.c | 2 +- newlib/libc/stdio/viscanf.c | 36 +----------------------- 75 files changed, 75 insertions(+), 1022 deletions(-) -- 2.15.0 diff --git a/newlib/libc/stdio/clearerr.c b/newlib/libc/stdio/clearerr.c index 9bf0837f5..4174a7425 100644 --- a/newlib/libc/stdio/clearerr.c +++ b/newlib/libc/stdio/clearerr.c @@ -24,7 +24,7 @@ INDEX INDEX clearerr_unlocked -ANSI_SYNOPSIS +SYNOPSIS #include void clearerr(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include void clearerr_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void clearerr(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - void clearerr_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION The <> functions maintain an error indicator with each file pointer <[fp]>, to record whether any read or write errors have diff --git a/newlib/libc/stdio/diprintf.c b/newlib/libc/stdio/diprintf.c index e0a5595e1..fde6ea44c 100644 --- a/newlib/libc/stdio/diprintf.c +++ b/newlib/libc/stdio/diprintf.c @@ -16,7 +16,7 @@ INDEX INDEX _vdiprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int diprintf(int <[fd]>, const char *<[format]>, ...); diff --git a/newlib/libc/stdio/dprintf.c b/newlib/libc/stdio/dprintf.c index 2925ceb31..7389eefaa 100644 --- a/newlib/libc/stdio/dprintf.c +++ b/newlib/libc/stdio/dprintf.c @@ -16,7 +16,7 @@ INDEX INDEX _vdprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int dprintf(int <[fd]>, const char *restrict <[format]>, ...); diff --git a/newlib/libc/stdio/fclose.c b/newlib/libc/stdio/fclose.c index 0ce112306..3325a8920 100644 --- a/newlib/libc/stdio/fclose.c +++ b/newlib/libc/stdio/fclose.c @@ -24,20 +24,11 @@ INDEX INDEX _fclose_r -ANSI_SYNOPSIS +SYNOPSIS #include int fclose(FILE *<[fp]>); int _fclose_r(struct _reent *<[reent]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fclose(<[fp]>) - FILE *<[fp]>; - - int fclose(<[fp]>) - struct _reent *<[reent]> - FILE *<[fp]>; - DESCRIPTION If the file or stream identified by <[fp]> is open, <> closes it, after first ensuring that any pending data is written (by calling diff --git a/newlib/libc/stdio/fcloseall.c b/newlib/libc/stdio/fcloseall.c index 090f3f2c3..a578e8a00 100644 --- a/newlib/libc/stdio/fcloseall.c +++ b/newlib/libc/stdio/fcloseall.c @@ -24,18 +24,11 @@ INDEX INDEX _fcloseall_r -ANSI_SYNOPSIS +SYNOPSIS #include int fcloseall(void); int _fcloseall_r (struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int fcloseall() - - int _fcloseall_r (<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION <> closes all files in the current reentrancy struct's domain. The function <<_fcloseall_r>> is the same function, except the reentrancy diff --git a/newlib/libc/stdio/fdopen.c b/newlib/libc/stdio/fdopen.c index 77f599b65..e0268ed87 100644 --- a/newlib/libc/stdio/fdopen.c +++ b/newlib/libc/stdio/fdopen.c @@ -24,23 +24,12 @@ INDEX INDEX _fdopen_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fdopen(int <[fd]>, const char *<[mode]>); FILE *_fdopen_r(struct _reent *<[reent]>, int <[fd]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fdopen(<[fd]>, <[mode]>) - int <[fd]>; - char *<[mode]>; - - FILE *_fdopen_r(<[reent]>, <[fd]>, <[mode]>) - struct _reent *<[reent]>; - int <[fd]>; - char *<[mode]>); - DESCRIPTION <> produces a file descriptor of type <>, from a descriptor for an already-open file (returned, for example, by the diff --git a/newlib/libc/stdio/feof.c b/newlib/libc/stdio/feof.c index 7aadd8209..617ce58df 100644 --- a/newlib/libc/stdio/feof.c +++ b/newlib/libc/stdio/feof.c @@ -24,7 +24,7 @@ INDEX INDEX feof_unlocked -ANSI_SYNOPSIS +SYNOPSIS #include int feof(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int feof_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int feof(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int feof_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> tests whether or not the end of the file identified by <[fp]> has been reached. diff --git a/newlib/libc/stdio/ferror.c b/newlib/libc/stdio/ferror.c index f93063d71..f99df2311 100644 --- a/newlib/libc/stdio/ferror.c +++ b/newlib/libc/stdio/ferror.c @@ -24,7 +24,7 @@ INDEX INDEX ferror_unlocked -ANSI_SYNOPSIS +SYNOPSIS #include int ferror(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int ferror_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int ferror(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int ferror_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION The <> functions maintain an error indicator with each file pointer <[fp]>, to record whether any read or write errors have diff --git a/newlib/libc/stdio/fflush.c b/newlib/libc/stdio/fflush.c index a4e639e72..199acbdc3 100644 --- a/newlib/libc/stdio/fflush.c +++ b/newlib/libc/stdio/fflush.c @@ -28,7 +28,7 @@ INDEX INDEX _fflush_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include int fflush(FILE *<[fp]>); diff --git a/newlib/libc/stdio/fgetc.c b/newlib/libc/stdio/fgetc.c index 34447a2c8..54322a069 100644 --- a/newlib/libc/stdio/fgetc.c +++ b/newlib/libc/stdio/fgetc.c @@ -28,7 +28,7 @@ INDEX INDEX _fgetc_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include int fgetc(FILE *<[fp]>); @@ -43,27 +43,6 @@ ANSI_SYNOPSIS #include int _fgetc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fgetc(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fgetc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - int _fgetc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int _fgetc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Use <> to get the next single character from the file or stream identified by <[fp]>. As a side effect, <> advances the file's diff --git a/newlib/libc/stdio/fgetpos.c b/newlib/libc/stdio/fgetpos.c index 20dd1082c..3074526b4 100644 --- a/newlib/libc/stdio/fgetpos.c +++ b/newlib/libc/stdio/fgetpos.c @@ -24,22 +24,11 @@ INDEX INDEX _fgetpos_r -ANSI_SYNOPSIS +SYNOPSIS #include int fgetpos(FILE *restrict <[fp]>, fpos_t *restrict <[pos]>); int _fgetpos_r(struct _reent *<[ptr]>, FILE *restrict <[fp]>, fpos_t *restrict <[pos]>); -TRAD_SYNOPSIS - #include - int fgetpos(<[fp]>, <[pos]>) - FILE *<[fp]>; - fpos_t *<[pos]>; - - int _fgetpos_r(<[ptr]>, <[fp]>, <[pos]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - fpos_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/fgets.c b/newlib/libc/stdio/fgets.c index f7c8a0300..54097510d 100644 --- a/newlib/libc/stdio/fgets.c +++ b/newlib/libc/stdio/fgets.c @@ -28,7 +28,7 @@ INDEX INDEX _fgets_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include char *fgets(char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>); @@ -42,34 +42,6 @@ ANSI_SYNOPSIS #include char *_fgets_unlocked_r(struct _reent *<[ptr]>, char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - char *fgets(<[buf]>,<[n]>,<[fp]>) - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - char *fgets_unlocked(<[buf]>,<[n]>,<[fp]>) - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #include - char *_fgets_r(<[ptr]>, <[buf]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #include - char *_fgets_unlocked_r(<[ptr]>, <[buf]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - DESCRIPTION Reads at most <[n-1]> characters from <[fp]> until a newline is found. The characters including to the newline are stored diff --git a/newlib/libc/stdio/fgetwc.c b/newlib/libc/stdio/fgetwc.c index d6de4b6cb..07731487d 100644 --- a/newlib/libc/stdio/fgetwc.c +++ b/newlib/libc/stdio/fgetwc.c @@ -45,7 +45,7 @@ INDEX INDEX _getwc_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include #include wint_t fgetwc(FILE *<[fp]>); @@ -80,53 +80,6 @@ ANSI_SYNOPSIS #include wint_t _getwc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - #include - wint_t fgetwc(<[fp]>) - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t fgetwc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - #include - wint_t _fgetwc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t _fgetwc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t getwc(<[fp]>) - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t getwc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - #include - wint_t _getwc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t _getwc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Use <> to get the next wide character from the file or stream identified by <[fp]>. As a side effect, <> advances the file's diff --git a/newlib/libc/stdio/fgetws.c b/newlib/libc/stdio/fgetws.c index ae1f48e66..3dbf3ef74 100644 --- a/newlib/libc/stdio/fgetws.c +++ b/newlib/libc/stdio/fgetws.c @@ -37,7 +37,7 @@ INDEX INDEX _fgetws_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include wchar_t *fgetws(wchar_t *__restrict <[ws]>, int <[n]>, FILE *__restrict <[fp]>); @@ -55,34 +55,6 @@ ANSI_SYNOPSIS wchar_t *_fgetws_unlocked_r(struct _reent *<[ptr]>, wchar_t *<[ws]>, int <[n]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - wchar_t *fgetws(<[ws]>,<[n]>,<[fp]>) - wchar_t *__restrict <[ws]>; - int <[n]>; - FILE *__restrict <[fp]>; - - #define _GNU_SOURCE - #include - wchar_t *fgetws_unlocked(<[ws]>,<[n]>,<[fp]>) - wchar_t *__restrict <[ws]>; - int <[n]>; - FILE *__restrict <[fp]>; - - #include - wchar_t *_fgetws_r(<[ptr]>, <[ws]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - int <[n]>; - FILE *<[fp]>; - - #include - wchar_t *_fgetws_unlocked_r(<[ptr]>, <[ws]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - int <[n]>; - FILE *<[fp]>; - DESCRIPTION Reads at most <[n-1]> wide characters from <[fp]> until a newline is found. The wide characters including to the newline are stored diff --git a/newlib/libc/stdio/fileno.c b/newlib/libc/stdio/fileno.c index 7b505827d..949a381f8 100644 --- a/newlib/libc/stdio/fileno.c +++ b/newlib/libc/stdio/fileno.c @@ -24,7 +24,7 @@ INDEX INDEX fileno_unlocked -ANSI_SYNOPSIS +SYNOPSIS #include int fileno(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int fileno_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fileno(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fileno_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION You can use <> to return the file descriptor identified by <[fp]>. diff --git a/newlib/libc/stdio/fmemopen.c b/newlib/libc/stdio/fmemopen.c index 17a3c9b5c..520ba1b80 100644 --- a/newlib/libc/stdio/fmemopen.c +++ b/newlib/libc/stdio/fmemopen.c @@ -10,7 +10,7 @@ FUNCTION INDEX fmemopen -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fmemopen(void *restrict <[buf]>, size_t <[size]>, const char *restrict <[mode]>); diff --git a/newlib/libc/stdio/fopen.c b/newlib/libc/stdio/fopen.c index 6d07561a3..2551befed 100644 --- a/newlib/libc/stdio/fopen.c +++ b/newlib/libc/stdio/fopen.c @@ -24,24 +24,13 @@ INDEX INDEX _fopen_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fopen(const char *<[file]>, const char *<[mode]>); FILE *_fopen_r(struct _reent *<[reent]>, const char *<[file]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fopen(<[file]>, <[mode]>) - char *<[file]>; - char *<[mode]>; - - FILE *_fopen_r(<[reent]>, <[file]>, <[mode]>) - struct _reent *<[reent]>; - char *<[file]>; - char *<[mode]>; - DESCRIPTION <> initializes the data structures needed to read or write a file. Specify the file's name as the string at <[file]>, and the kind diff --git a/newlib/libc/stdio/fopencookie.c b/newlib/libc/stdio/fopencookie.c index 3697b48d7..eb9861392 100644 --- a/newlib/libc/stdio/fopencookie.c +++ b/newlib/libc/stdio/fopencookie.c @@ -10,7 +10,7 @@ FUNCTION INDEX fopencookie -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fopencookie(const void *<[cookie]>, const char *<[mode]>, cookie_io_functions_t <[functions]>); diff --git a/newlib/libc/stdio/fpurge.c b/newlib/libc/stdio/fpurge.c index dc052e85b..de621feb6 100644 --- a/newlib/libc/stdio/fpurge.c +++ b/newlib/libc/stdio/fpurge.c @@ -14,7 +14,7 @@ INDEX INDEX __fpurge -ANSI_SYNOPSIS +SYNOPSIS #include int fpurge(FILE *<[fp]>); diff --git a/newlib/libc/stdio/fputc.c b/newlib/libc/stdio/fputc.c index 0aad0a9f7..f9273d6ae 100644 --- a/newlib/libc/stdio/fputc.c +++ b/newlib/libc/stdio/fputc.c @@ -28,7 +28,7 @@ INDEX INDEX _fputc_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include int fputc(int <[ch]>, FILE *<[fp]>); @@ -42,30 +42,6 @@ ANSI_SYNOPSIS #include int _fputc_unlocked_r(struct _rent *<[ptr]>, int <[ch]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fputc(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fputc_unlocked(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #include - int _fputc_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - - #include - int _fputc_unlocked_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - DESCRIPTION <> converts the argument <[ch]> from an <> to an <>, then writes it to the file or stream identified by diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c index 75f65d96e..c4588265b 100644 --- a/newlib/libc/stdio/fputs.c +++ b/newlib/libc/stdio/fputs.c @@ -28,7 +28,7 @@ INDEX INDEX _fputs_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include int fputs(const char *restrict <[s]>, FILE *restrict <[fp]>); @@ -42,30 +42,6 @@ ANSI_SYNOPSIS #include int _fputs_unlocked_r(struct _reent *<[ptr]>, const char *restrict <[s]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - int fputs(<[s]>, <[fp]>) - char *<[s]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - int fputs_unlocked(<[s]>, <[fp]>) - char *<[s]>; - FILE *<[fp]>; - - #include - int _fputs_r(<[ptr]>, <[s]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[s]>; - FILE *<[fp]>; - - #include - int _fputs_unlocked_r(<[ptr]>, <[s]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[s]>; - FILE *<[fp]>; - DESCRIPTION <> writes the string at <[s]> (but without the trailing null) to the file or stream identified by <[fp]>. diff --git a/newlib/libc/stdio/fputwc.c b/newlib/libc/stdio/fputwc.c index 9c2ef6c3b..5e2a9e322 100644 --- a/newlib/libc/stdio/fputwc.c +++ b/newlib/libc/stdio/fputwc.c @@ -45,7 +45,7 @@ INDEX INDEX _putwc_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include #include wint_t fputwc(wchar_t <[wc]>, FILE *<[fp]>); @@ -80,61 +80,6 @@ ANSI_SYNOPSIS #include wint_t _putwc_unlocked_r(struct _reent *<[ptr]>, wchar_t <[wc]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - #include - wint_t fputwc(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t fputwc_unlocked(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _fputwc_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _fputwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t putwc(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t putwc_unlocked(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _putwc_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _putwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - DESCRIPTION <> writes the wide character argument <[wc]> to the file or stream identified by <[fp]>. diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c index bb2fa6dbe..c68241c92 100644 --- a/newlib/libc/stdio/fputws.c +++ b/newlib/libc/stdio/fputws.c @@ -37,7 +37,7 @@ INDEX INDEX _fputws_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include int fputws(const wchar_t *__restrict <[ws]>, FILE *__restrict <[fp]>); @@ -53,30 +53,6 @@ ANSI_SYNOPSIS int _fputws_unlocked_r(struct _reent *<[ptr]>, const wchar_t *<[ws]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fputws(<[ws]>, <[fp]>) - wchar_t *__restrict <[ws]>; - FILE *__restrict <[fp]>; - - #define _GNU_SOURCE - #include - int fputws_unlocked(<[ws]>, <[fp]>) - wchar_t *__restrict <[ws]>; - FILE *__restrict <[fp]>; - - #include - int _fputws_r(<[ptr]>, <[ws]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - FILE *<[fp]>; - - #include - int _fputws_unlocked_r(<[ptr]>, <[ws]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - FILE *<[fp]>; - DESCRIPTION <> writes the wide character string at <[ws]> (but without the trailing null) to the file or stream identified by <[fp]>. diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c index c6839476d..c2e60bedc 100644 --- a/newlib/libc/stdio/fread.c +++ b/newlib/libc/stdio/fread.c @@ -28,7 +28,7 @@ INDEX INDEX _fread_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include size_t fread(void *restrict <[buf]>, size_t <[size]>, size_t <[count]>, FILE *restrict <[fp]>); @@ -46,38 +46,6 @@ ANSI_SYNOPSIS size_t _fread_unlocked_r(struct _reent *<[ptr]>, void *restrict <[buf]>, size_t <[size]>, size_t <[count]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - size_t fread(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - size_t fread_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fread_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fread_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - DESCRIPTION <> attempts to copy, from the file or stream identified by <[fp]>, <[count]> elements (each of size <[size]>) into memory, diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c index fb1f6c4db..e5bb73a26 100644 --- a/newlib/libc/stdio/freopen.c +++ b/newlib/libc/stdio/freopen.c @@ -24,26 +24,13 @@ INDEX INDEX _freopen_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *freopen(const char *restrict <[file]>, const char *restrict <[mode]>, FILE *restrict <[fp]>); FILE *_freopen_r(struct _reent *<[ptr]>, const char *restrict <[file]>, const char *restrict <[mode]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - FILE *freopen(<[file]>, <[mode]>, <[fp]>) - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - - FILE *_freopen_r(<[ptr]>, <[file]>, <[mode]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - DESCRIPTION Use this variant of <> if you wish to specify a particular file descriptor <[fp]> (notably <>, <>, or <>) for diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c index b8fc36a04..b5bd979d3 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -28,7 +28,7 @@ INDEX INDEX _fseeko_r -ANSI_SYNOPSIS +SYNOPSIS #include int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>); int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>); @@ -37,30 +37,6 @@ ANSI_SYNOPSIS int _fseeko_r(struct _reent *<[ptr]>, FILE *<[fp]>, off_t <[offset]>, int <[whence]>); -TRAD_SYNOPSIS - #include - int fseek(<[fp]>, <[offset]>, <[whence]>); - FILE *<[fp]>; - long <[offset]>; - int <[whence]>; - - int fseeko(<[fp]>, <[offset]>, <[whence]>); - FILE *<[fp]>; - off_t <[offset]>; - int <[whence]>; - - int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>); - struct _reent *<[ptr]>; - FILE *<[fp]>; - long <[offset]>; - int <[whence]>; - - int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>); - struct _reent *<[ptr]>; - FILE *<[fp]>; - off_t <[offset]>; - int <[whence]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/fseeko.c b/newlib/libc/stdio/fseeko.c index 2c9419d97..52f978929 100644 --- a/newlib/libc/stdio/fseeko.c +++ b/newlib/libc/stdio/fseeko.c @@ -28,7 +28,7 @@ INDEX INDEX _fseeko_r -ANSI_SYNOPSIS +SYNOPSIS #include int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>) int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>) @@ -37,30 +37,6 @@ ANSI_SYNOPSIS int _fseeko_r(struct _reent *<[ptr]>, FILE *<[fp]>, off_t <[offset]>, int <[whence]>) -TRAD_SYNOPSIS - #include - int fseek(<[fp]>, <[offset]>, <[whence]>) - FILE *<[fp]>; - long <[offset]>; - int <[whence]>; - - int fseeko(<[fp]>, <[offset]>, <[whence]>) - FILE *<[fp]>; - off_t <[offset]>; - int <[whence]>; - - int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - long <[offset]>; - int <[whence]>; - - int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - off_t <[offset]>; - int <[whence]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/fsetlocking.c b/newlib/libc/stdio/fsetlocking.c index 3c489f54d..d62aef334 100644 --- a/newlib/libc/stdio/fsetlocking.c +++ b/newlib/libc/stdio/fsetlocking.c @@ -30,7 +30,7 @@ FUNCTION INDEX __fsetlocking -ANSI_SYNOPSIS +SYNOPSIS #include #include int __fsetlocking(FILE *<[fp]>, int <[type]>); diff --git a/newlib/libc/stdio/fsetpos.c b/newlib/libc/stdio/fsetpos.c index d1596293b..a2a5d7b2e 100644 --- a/newlib/libc/stdio/fsetpos.c +++ b/newlib/libc/stdio/fsetpos.c @@ -24,23 +24,12 @@ INDEX INDEX _fsetpos_r -ANSI_SYNOPSIS +SYNOPSIS #include int fsetpos(FILE *<[fp]>, const fpos_t *<[pos]>); int _fsetpos_r(struct _reent *<[ptr]>, FILE *<[fp]>, const fpos_t *<[pos]>); -TRAD_SYNOPSIS - #include - int fsetpos(<[fp]>, <[pos]>) - FILE *<[fp]>; - fpos_t *<[pos]>; - - int _fsetpos_r(<[ptr]>, <[fp]>, <[pos]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - fpos_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/ftell.c b/newlib/libc/stdio/ftell.c index 5af0709cb..70eed84c0 100644 --- a/newlib/libc/stdio/ftell.c +++ b/newlib/libc/stdio/ftell.c @@ -28,29 +28,13 @@ INDEX INDEX _ftello_r -ANSI_SYNOPSIS +SYNOPSIS #include long ftell(FILE *<[fp]>); off_t ftello(FILE *<[fp]>); long _ftell_r(struct _reent *<[ptr]>, FILE *<[fp]>); off_t _ftello_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - long ftell(<[fp]>) - FILE *<[fp]>; - - off_t ftello(<[fp]>) - FILE *<[fp]>; - - long _ftell_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - off_t _ftello_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/ftello.c b/newlib/libc/stdio/ftello.c index 3a1885e81..c120c26a9 100644 --- a/newlib/libc/stdio/ftello.c +++ b/newlib/libc/stdio/ftello.c @@ -28,29 +28,13 @@ INDEX INDEX _ftello_r -ANSI_SYNOPSIS +SYNOPSIS #include long ftell(FILE *<[fp]>); off_t ftello(FILE *<[fp]>); long _ftell_r(struct _reent *<[ptr]>, FILE *<[fp]>); off_t _ftello_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - long ftell(<[fp]>) - FILE *<[fp]>; - - off_t ftello(<[fp]>) - FILE *<[fp]>; - - long _ftell_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - off_t _ftello_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio/funopen.c b/newlib/libc/stdio/funopen.c index e71d23187..58b75648a 100644 --- a/newlib/libc/stdio/funopen.c +++ b/newlib/libc/stdio/funopen.c @@ -14,7 +14,7 @@ INDEX INDEX fwopen -ANSI_SYNOPSIS +SYNOPSIS #include FILE *funopen(const void *<[cookie]>, int (*<[readfn]>) (void *cookie, char *buf, int n), diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c index b2aaf8a62..a57a77c95 100644 --- a/newlib/libc/stdio/fwide.c +++ b/newlib/libc/stdio/fwide.c @@ -7,23 +7,12 @@ INDEX INDEX _fwide_r -ANSI_SYNOPSIS +SYNOPSIS #include int fwide(FILE *<[fp]>, int <[mode]>); int _fwide_r(struct _reent *<[ptr]>, FILE *<[fp]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int fwide(<[fp]>, <[mode]>); - FILE *<[fp]>; - int <[mode]>; - - int _fwide_r(<[ptr]>, <[fp]>, <[mode]>); - struct _reent *<[ptr]>; - FILE *<[fp]>; - int <[mode]>; - DESCRIPTION When <[mode]> is zero, the <> function determines the current orientation of <[fp]>. It returns a value > 0 if <[fp]> is diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c index 6b3ff9015..2ba71f38a 100644 --- a/newlib/libc/stdio/fwrite.c +++ b/newlib/libc/stdio/fwrite.c @@ -28,7 +28,7 @@ INDEX INDEX _fwrite_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include size_t fwrite(const void *restrict <[buf]>, size_t <[size]>, size_t <[count]>, FILE *restrict <[fp]>); @@ -46,38 +46,6 @@ ANSI_SYNOPSIS size_t _fwrite_unlocked_r(struct _reent *<[ptr]>, const void *restrict <[buf]>, size_t <[size]>, size_t <[count]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - size_t fwrite(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - size_t fwrite_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fwrite_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fwrite_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - DESCRIPTION <> attempts to copy, starting from the memory location <[buf]>, <[count]> elements (each of size <[size]>) into the file or diff --git a/newlib/libc/stdio/getc.c b/newlib/libc/stdio/getc.c index 7951cdc93..37e345870 100644 --- a/newlib/libc/stdio/getc.c +++ b/newlib/libc/stdio/getc.c @@ -24,23 +24,13 @@ INDEX INDEX _getc_r -ANSI_SYNOPSIS +SYNOPSIS #include int getc(FILE *<[fp]>); #include int _getc_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getc(<[fp]>) - FILE *<[fp]>; - - #include - int _getc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION <> is a macro, defined in <>. You can use <> to get the next single character from the file or stream diff --git a/newlib/libc/stdio/getchar.c b/newlib/libc/stdio/getchar.c index 7f3ceac62..07ba9e64f 100644 --- a/newlib/libc/stdio/getchar.c +++ b/newlib/libc/stdio/getchar.c @@ -24,19 +24,12 @@ INDEX INDEX _getchar_r -ANSI_SYNOPSIS +SYNOPSIS #include int getchar(void); int _getchar_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - int getchar(); - - int _getchar_r(<[reent]>) - char * <[reent]>; - DESCRIPTION <> is a macro, defined in <>. You can use <> to get the next single character from the standard input stream. diff --git a/newlib/libc/stdio/getdelim.c b/newlib/libc/stdio/getdelim.c index 63a579a79..d806c02cf 100644 --- a/newlib/libc/stdio/getdelim.c +++ b/newlib/libc/stdio/getdelim.c @@ -6,19 +6,11 @@ FUNCTION INDEX getdelim -ANSI_SYNOPSIS +SYNOPSIS #include int getdelim(char **<[bufptr]>, size_t *<[n]>, int <[delim]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getdelim(<[bufptr]>, <[n]>, <[delim]>, <[fp]>) - char **<[bufptr]>; - size_t *<[n]>; - int <[delim]>; - FILE *<[fp]>; - DESCRIPTION <> reads a file <[fp]> up to and possibly including a specified delimiter <[delim]>. The line is read into a buffer pointed to diff --git a/newlib/libc/stdio/getline.c b/newlib/libc/stdio/getline.c index c758ae964..66ffd1990 100644 --- a/newlib/libc/stdio/getline.c +++ b/newlib/libc/stdio/getline.c @@ -6,17 +6,10 @@ FUNCTION INDEX getline -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t getline(char **<[bufptr]>, size_t *<[n]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - ssize_t getline(<[bufptr]>, <[n]>, <[fp]>) - char **<[bufptr]>; - size_t *<[n]>; - FILE *<[fp]>; - DESCRIPTION <> reads a file <[fp]> up to and possibly including the newline character. The line is read into a buffer pointed to diff --git a/newlib/libc/stdio/gets.c b/newlib/libc/stdio/gets.c index 6c21f3e0c..a78d06b89 100644 --- a/newlib/libc/stdio/gets.c +++ b/newlib/libc/stdio/gets.c @@ -24,23 +24,13 @@ INDEX INDEX _gets_r -ANSI_SYNOPSIS +SYNOPSIS #include char *gets(char *<[buf]>); char *_gets_r(struct _reent *<[reent]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - - char *gets(<[buf]>) - char *<[buf]>; - - char *_gets_r(<[reent]>, <[buf]>) - struct _reent *<[reent]>; - char *<[buf]>; - DESCRIPTION Reads characters from standard input until a newline is found. The characters up to the newline are stored in <[buf]>. The diff --git a/newlib/libc/stdio/getw.c b/newlib/libc/stdio/getw.c index 210c5939a..4585d9f37 100644 --- a/newlib/libc/stdio/getw.c +++ b/newlib/libc/stdio/getw.c @@ -22,15 +22,10 @@ FUNCTION INDEX getw -ANSI_SYNOPSIS +SYNOPSIS #include int getw(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getw(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> is a function, defined in <>. You can use <> to get the next word from the file or stream identified by <[fp]>. As diff --git a/newlib/libc/stdio/getwchar.c b/newlib/libc/stdio/getwchar.c index 7ab230a4c..61031e5a6 100644 --- a/newlib/libc/stdio/getwchar.c +++ b/newlib/libc/stdio/getwchar.c @@ -37,7 +37,7 @@ INDEX INDEX _getwchar_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include wint_t getwchar(void); @@ -51,22 +51,6 @@ ANSI_SYNOPSIS #include wint_t _getwchar_unlocked_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - wint_t getwchar(); - - #define _GNU_SOURCE - #include - wint_t getwchar_unlocked(); - - #include - wint_t _getwchar_r(<[reent]>) - char * <[reent]>; - - #include - wint_t _getwchar_unlocked_r(<[reent]>) - char * <[reent]>; - DESCRIPTION <> function or macro is the wide character equivalent of the <> function. You can use <> to get the next diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c index ecbc7afea..3ece9ab2c 100644 --- a/newlib/libc/stdio/mktemp.c +++ b/newlib/libc/stdio/mktemp.c @@ -52,7 +52,7 @@ INDEX INDEX _mkostemps_r -ANSI_SYNOPSIS +SYNOPSIS #include char *mktemp(char *<[path]>); char *mkdtemp(char *<[path]>); diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c index f106a4167..e6604e771 100644 --- a/newlib/libc/stdio/nano-vfprintf.c +++ b/newlib/libc/stdio/nano-vfprintf.c @@ -87,7 +87,7 @@ INDEX INDEX _vasnprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int vprintf(const char *<[fmt]>, va_list <[list]>); diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c index 5ba00f797..564f2916d 100644 --- a/newlib/libc/stdio/nano-vfscanf.c +++ b/newlib/libc/stdio/nano-vfscanf.c @@ -60,7 +60,7 @@ INDEX INDEX _vsscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int vscanf(const char *<[fmt]>, va_list <[list]>); @@ -74,40 +74,6 @@ ANSI_SYNOPSIS int _vsscanf_r(struct _reent *<[reent]>, const char *<[str]>, const char *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vscanf( <[fmt]>, <[ist]>) - char *<[fmt]>; - va_list <[list]>; - - int vfscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsscanf( <[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>) - struct _reent *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in diff --git a/newlib/libc/stdio/open_memstream.c b/newlib/libc/stdio/open_memstream.c index 5de99474d..9e6736f77 100644 --- a/newlib/libc/stdio/open_memstream.c +++ b/newlib/libc/stdio/open_memstream.c @@ -12,7 +12,7 @@ INDEX INDEX open_wmemstream -ANSI_SYNOPSIS +SYNOPSIS #include FILE *open_memstream(char **restrict <[buf]>, size_t *restrict <[size]>); diff --git a/newlib/libc/stdio/perror.c b/newlib/libc/stdio/perror.c index 14b4d2173..0f0259632 100644 --- a/newlib/libc/stdio/perror.c +++ b/newlib/libc/stdio/perror.c @@ -24,21 +24,12 @@ INDEX INDEX _perror_r -ANSI_SYNOPSIS +SYNOPSIS #include void perror(char *<[prefix]>); void _perror_r(struct _reent *<[reent]>, char *<[prefix]>); -TRAD_SYNOPSIS - #include - void perror(<[prefix]>) - char *<[prefix]>; - - void _perror_r(<[reent]>, <[prefix]>) - struct _reent *<[reent]>; - char *<[prefix]>; - DESCRIPTION Use <> to print (on standard error) an error message corresponding to the current value of the global variable <>. diff --git a/newlib/libc/stdio/putc.c b/newlib/libc/stdio/putc.c index 2b1fd1bf3..a00aaad08 100644 --- a/newlib/libc/stdio/putc.c +++ b/newlib/libc/stdio/putc.c @@ -24,25 +24,13 @@ INDEX INDEX _putc_r -ANSI_SYNOPSIS +SYNOPSIS #include int putc(int <[ch]>, FILE *<[fp]>); #include int _putc_r(struct _reent *<[ptr]>, int <[ch]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int putc(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #include - int _putc_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - DESCRIPTION <> is a macro, defined in <>. <> writes the argument <[ch]> to the file or stream identified by diff --git a/newlib/libc/stdio/putchar.c b/newlib/libc/stdio/putchar.c index bb27dc4e6..a4b669832 100644 --- a/newlib/libc/stdio/putchar.c +++ b/newlib/libc/stdio/putchar.c @@ -24,21 +24,12 @@ INDEX INDEX _putchar_r -ANSI_SYNOPSIS +SYNOPSIS #include int putchar(int <[ch]>); int _putchar_r(struct _reent *<[reent]>, int <[ch]>); -TRAD_SYNOPSIS - #include - int putchar(<[ch]>) - int <[ch]>; - - int _putchar_r(<[reent]>, <[ch]>) - struct _reent *<[reent]>; - int <[ch]>; - DESCRIPTION <> is a macro, defined in <>. <> writes its argument to the standard output stream, diff --git a/newlib/libc/stdio/puts.c b/newlib/libc/stdio/puts.c index 74673715f..72f929eea 100644 --- a/newlib/libc/stdio/puts.c +++ b/newlib/libc/stdio/puts.c @@ -24,21 +24,12 @@ INDEX INDEX _puts_r -ANSI_SYNOPSIS +SYNOPSIS #include int puts(const char *<[s]>); int _puts_r(struct _reent *<[reent]>, const char *<[s]>); -TRAD_SYNOPSIS - #include - int puts(<[s]>) - char *<[s]>; - - int _puts_r(<[reent]>, <[s]>) - struct _reent *<[reent]>; - char *<[s]>; - DESCRIPTION <> writes the string at <[s]> (followed by a newline, instead of the trailing null) to the standard output stream. diff --git a/newlib/libc/stdio/putw.c b/newlib/libc/stdio/putw.c index 682015c0a..d4f785814 100644 --- a/newlib/libc/stdio/putw.c +++ b/newlib/libc/stdio/putw.c @@ -22,16 +22,10 @@ FUNCTION INDEX putw -ANSI_SYNOPSIS +SYNOPSIS #include int putw(int <[w]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int putw(, <[fp]>) - int ; - FILE *<[fp]>; - DESCRIPTION <> is a function, defined in <>. You can use <> to write a word to the file or stream identified by <[fp]>. As a side diff --git a/newlib/libc/stdio/putwchar.c b/newlib/libc/stdio/putwchar.c index cdd254217..248d5922d 100644 --- a/newlib/libc/stdio/putwchar.c +++ b/newlib/libc/stdio/putwchar.c @@ -37,7 +37,7 @@ INDEX INDEX _putwchar_unlocked_r -ANSI_SYNOPSIS +SYNOPSIS #include wint_t putwchar(wchar_t <[wc]>); @@ -50,25 +50,6 @@ ANSI_SYNOPSIS #include wint_t _putwchar_unlocked_r(struct _reent *<[reent]>, wchar_t <[wc]>); -TRAD_SYNOPSIS - #include - wint_t putwchar(<[wc]>) - wchar_t <[wc]>; - - #include - wint_t putwchar_unlocked(<[wc]>) - wchar_t <[wc]>; - - #include - wint_t _putwchar_r(<[reent]>, <[wc]>) - struct _reent *<[reent]>; - wchar_t <[wc]>; - - #include - wint_t _putwchar_unlocked_r(<[reent]>, <[wc]>) - struct _reent *<[reent]>; - wchar_t <[wc]>; - DESCRIPTION The <> function or macro is the wide-character equivalent of the <> function. It writes the wide character wc to stdout. diff --git a/newlib/libc/stdio/remove.c b/newlib/libc/stdio/remove.c index 5a3e16be9..7b8d3060f 100644 --- a/newlib/libc/stdio/remove.c +++ b/newlib/libc/stdio/remove.c @@ -24,21 +24,12 @@ INDEX INDEX _remove_r -ANSI_SYNOPSIS +SYNOPSIS #include int remove(char *<[filename]>); int _remove_r(struct _reent *<[reent]>, char *<[filename]>); -TRAD_SYNOPSIS - #include - int remove(<[filename]>) - char *<[filename]>; - - int _remove_r(<[reent]>, <[filename]>) - struct _reent *<[reent]>; - char *<[filename]>; - DESCRIPTION Use <> to dissolve the association between a particular filename (the string at <[filename]>) and the file it represents. diff --git a/newlib/libc/stdio/rename.c b/newlib/libc/stdio/rename.c index 6eb1f7d19..1b807f8b2 100644 --- a/newlib/libc/stdio/rename.c +++ b/newlib/libc/stdio/rename.c @@ -22,16 +22,10 @@ FUNCTION INDEX rename -ANSI_SYNOPSIS +SYNOPSIS #include int rename(const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int rename(<[old]>, <[new]>) - char *<[old]>; - char *<[new]>; - DESCRIPTION Use <> to establish a new name (the string at <[new]>) for a file now known by the string at <[old]>. After a successful diff --git a/newlib/libc/stdio/rewind.c b/newlib/libc/stdio/rewind.c index fb03e5be7..417a5963d 100644 --- a/newlib/libc/stdio/rewind.c +++ b/newlib/libc/stdio/rewind.c @@ -24,20 +24,11 @@ INDEX INDEX _rewind_r -ANSI_SYNOPSIS +SYNOPSIS #include void rewind(FILE *<[fp]>); void _rewind_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void rewind(<[fp]>) - FILE *<[fp]>; - - void _rewind_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION <> returns the file position indicator (if any) for the file or stream identified by <[fp]> to the beginning of the file. It also diff --git a/newlib/libc/stdio/setbuf.c b/newlib/libc/stdio/setbuf.c index cffb6fbf4..29f5377a7 100644 --- a/newlib/libc/stdio/setbuf.c +++ b/newlib/libc/stdio/setbuf.c @@ -22,16 +22,10 @@ FUNCTION INDEX setbuf -ANSI_SYNOPSIS +SYNOPSIS #include void setbuf(FILE *<[fp]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - void setbuf(<[fp]>, <[buf]>) - FILE *<[fp]>; - char *<[buf]>; - DESCRIPTION <> specifies that output to the file or stream identified by <[fp]> should be fully buffered. All output for this file will go to a diff --git a/newlib/libc/stdio/setbuffer.c b/newlib/libc/stdio/setbuffer.c index e88187446..880779d13 100644 --- a/newlib/libc/stdio/setbuffer.c +++ b/newlib/libc/stdio/setbuffer.c @@ -27,17 +27,10 @@ FUNCTION INDEX setbuffer -ANSI_SYNOPSIS +SYNOPSIS #include void setbuffer(FILE *<[fp]>, char *<[buf]>, int <[size]>); -TRAD_SYNOPSIS - #include - void setbuffer(<[fp]>, <[buf]>, <[size]>) - FILE *<[fp]>; - char *<[buf]>; - int <[size]>; - DESCRIPTION <> specifies that output to the file or stream identified by <[fp]> should be fully buffered. All output for this file will go to a diff --git a/newlib/libc/stdio/setlinebuf.c b/newlib/libc/stdio/setlinebuf.c index 0df6a579a..d8cb013d9 100644 --- a/newlib/libc/stdio/setlinebuf.c +++ b/newlib/libc/stdio/setlinebuf.c @@ -27,15 +27,10 @@ FUNCTION INDEX setlinebuf -ANSI_SYNOPSIS +SYNOPSIS #include void setlinebuf(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void setlinebuf(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> specifies that output to the file or stream identified by <[fp]> should be line buffered. This causes the file or stream to pass diff --git a/newlib/libc/stdio/setvbuf.c b/newlib/libc/stdio/setvbuf.c index a8e46a5d0..6fa0252b0 100644 --- a/newlib/libc/stdio/setvbuf.c +++ b/newlib/libc/stdio/setvbuf.c @@ -22,19 +22,11 @@ FUNCTION INDEX setvbuf -ANSI_SYNOPSIS +SYNOPSIS #include int setvbuf(FILE *<[fp]>, char *<[buf]>, int <[mode]>, size_t <[size]>); -TRAD_SYNOPSIS - #include - int setvbuf(<[fp]>, <[buf]>, <[mode]>, <[size]>) - FILE *<[fp]>; - char *<[buf]>; - int <[mode]>; - size_t <[size]>; - DESCRIPTION Use <> to specify what kind of buffering you want for the file or stream identified by <[fp]>, by using one of the following diff --git a/newlib/libc/stdio/siprintf.c b/newlib/libc/stdio/siprintf.c index f0a80980c..d9559c359 100644 --- a/newlib/libc/stdio/siprintf.c +++ b/newlib/libc/stdio/siprintf.c @@ -44,7 +44,7 @@ INDEX INDEX _asniprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include int iprintf(const char *<[format]>, ...); diff --git a/newlib/libc/stdio/siscanf.c b/newlib/libc/stdio/siscanf.c index a6a812670..c89eb7c8d 100644 --- a/newlib/libc/stdio/siscanf.c +++ b/newlib/libc/stdio/siscanf.c @@ -32,7 +32,7 @@ INDEX INDEX _siscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include int iscanf(const char *<[format]>, ...); @@ -45,36 +45,6 @@ ANSI_SYNOPSIS int _siscanf_r(struct _reent *<[ptr]>, const char *<[str]>, const char *<[format]>, ...); - -TRAD_SYNOPSIS - #include - - int iscanf(<[format]> [, <[arg]>, ...]) - char *<[format]>; - - int fiscanf(<[fd]>, <[format]> [, <[arg]>, ...]); - FILE *<[fd]>; - char *<[format]>; - - int siscanf(<[str]>, <[format]> [, <[arg]>, ...]); - char *<[str]>; - char *<[format]>; - - int _iscanf_r(<[ptr]>, <[format]> [, <[arg]>, ...]) - struct _reent *<[ptr]>; - char *<[format]>; - - int _fiscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - FILE *<[fd]>; - char *<[format]>; - - int _siscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - char *<[str]>; - char *<[format]>; - - DESCRIPTION <>, <>, and <> are the same as <>, <>, and <> respectively, only that diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c index d74c6f891..7fc9e6821 100644 --- a/newlib/libc/stdio/sprintf.c +++ b/newlib/libc/stdio/sprintf.c @@ -44,7 +44,7 @@ INDEX INDEX _asnprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include int printf(const char *restrict <[format]>, ...); diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c index 7961294e7..d2d9dfe8b 100644 --- a/newlib/libc/stdio/sscanf.c +++ b/newlib/libc/stdio/sscanf.c @@ -32,7 +32,7 @@ INDEX INDEX _sscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include int scanf(const char *restrict <[format]>, ...); @@ -45,36 +45,6 @@ ANSI_SYNOPSIS int _sscanf_r(struct _reent *<[ptr]>, const char *restrict <[str]>, const char *restrict <[format]>, ...); - -TRAD_SYNOPSIS - #include - - int scanf(<[format]> [, <[arg]>, ...]) - char *<[format]>; - - int fscanf(<[fd]>, <[format]> [, <[arg]>, ...]); - FILE *<[fd]>; - char *<[format]>; - - int sscanf(<[str]>, <[format]> [, <[arg]>, ...]); - char *<[str]>; - char *<[format]>; - - int _scanf_r(<[ptr]>, <[format]> [, <[arg]>, ...]) - struct _reent *<[ptr]>; - char *<[format]>; - - int _fscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - FILE *<[fd]>; - char *<[format]>; - - int _sscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - char *<[str]>; - char *<[format]>; - - DESCRIPTION <> scans a series of input fields from standard input, one character at a time. Each field is interpreted according to diff --git a/newlib/libc/stdio/stdio_ext.c b/newlib/libc/stdio/stdio_ext.c index 588209d18..98f2ccaa9 100644 --- a/newlib/libc/stdio/stdio_ext.c +++ b/newlib/libc/stdio/stdio_ext.c @@ -17,7 +17,7 @@ INDEX INDEX __fwriting -ANSI_SYNOPSIS +SYNOPSIS #include #include size_t __fbufsize(FILE *<[fp]>); diff --git a/newlib/libc/stdio/swprintf.c b/newlib/libc/stdio/swprintf.c index 2233b3ba7..fe106f036 100644 --- a/newlib/libc/stdio/swprintf.c +++ b/newlib/libc/stdio/swprintf.c @@ -32,7 +32,7 @@ INDEX INDEX _swprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include int wprintf(const wchar_t *<[format]>, ...); diff --git a/newlib/libc/stdio/swscanf.c b/newlib/libc/stdio/swscanf.c index 6a469ac31..d52d826e3 100644 --- a/newlib/libc/stdio/swscanf.c +++ b/newlib/libc/stdio/swscanf.c @@ -32,7 +32,7 @@ INDEX INDEX _swscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include int wscanf(const wchar_t *__restrict <[format]>, ...); @@ -47,36 +47,6 @@ ANSI_SYNOPSIS int _swscanf_r(struct _reent *<[ptr]>, const wchar_t *<[str]>, const wchar_t *<[format]>, ...); - -TRAD_SYNOPSIS - #include - - int wscanf(<[format]> [, <[arg]>, ...]) - wchar_t *__restrict <[format]>; - - int fwscanf(<[fd]>, <[format]> [, <[arg]>, ...]); - FILE *<[fd]>; - wchar_t *<[format]>; - - int swscanf(<[str]>, <[format]> [, <[arg]>, ...]); - wchar_t *__restrict <[str]>; - wchar_t *__restrict <[format]>; - - int _wscanf_r(<[ptr]>, <[format]> [, <[arg]>, ...]) - struct _reent *<[ptr]>; - wchar_t *<[format]>; - - int _fwscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - FILE *<[fd]>; - wchar_t *<[format]>; - - int _swscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]); - struct _reent *<[ptr]>; - wchar_t *<[str]>; - wchar_t *<[format]>; - - DESCRIPTION <> scans a series of input fields from standard input, one wide character at a time. Each field is interpreted according to diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c index eca4ec735..6145ad0bc 100644 --- a/newlib/libc/stdio/tmpfile.c +++ b/newlib/libc/stdio/tmpfile.c @@ -7,19 +7,12 @@ INDEX INDEX _tmpfile_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *tmpfile(void); FILE *_tmpfile_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - FILE *tmpfile(); - - FILE *_tmpfile_r(<[reent]>) - struct _reent *<[reent]>; - DESCRIPTION Create a temporary file (a file which will be deleted automatically), using a name generated by <>. The temporary file is opened with diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c index ee722e630..765d27afd 100644 --- a/newlib/libc/stdio/tmpnam.c +++ b/newlib/libc/stdio/tmpnam.c @@ -15,31 +15,13 @@ INDEX INDEX _tempnam_r -ANSI_SYNOPSIS +SYNOPSIS #include char *tmpnam(char *<[s]>); char *tempnam(char *<[dir]>, char *<[pfx]>); char *_tmpnam_r(struct _reent *<[reent]>, char *<[s]>); char *_tempnam_r(struct _reent *<[reent]>, char *<[dir]>, char *<[pfx]>); -TRAD_SYNOPSIS - #include - char *tmpnam(<[s]>) - char *<[s]>; - - char *tempnam(<[dir]>, <[pfx]>) - char *<[dir]>; - char *<[pfx]>; - - char *_tmpnam_r(<[reent]>, <[s]>) - struct _reent *<[reent]>; - char *<[s]>; - - char *_tempnam_r(<[reent]>, <[dir]>, <[pfx]>) - struct *<[reent]>; - char *<[dir]>; - char *<[pfx]>; - DESCRIPTION Use either of these functions to generate a name for a temporary file. The generated name is guaranteed to avoid collision with other files diff --git a/newlib/libc/stdio/ungetc.c b/newlib/libc/stdio/ungetc.c index e385ce8fb..da4b19d3c 100644 --- a/newlib/libc/stdio/ungetc.c +++ b/newlib/libc/stdio/ungetc.c @@ -23,7 +23,7 @@ INDEX INDEX _ungetc_r -ANSI_SYNOPSIS +SYNOPSIS #include int ungetc(int <[c]>, FILE *<[stream]>); diff --git a/newlib/libc/stdio/ungetwc.c b/newlib/libc/stdio/ungetwc.c index a69449eb2..000d4bdbb 100644 --- a/newlib/libc/stdio/ungetwc.c +++ b/newlib/libc/stdio/ungetwc.c @@ -33,7 +33,7 @@ INDEX INDEX _ungetwc_r -ANSI_SYNOPSIS +SYNOPSIS #include #include wint_t ungetwc(wint_t <[wc]>, FILE *<[stream]>); diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c index 3585423af..50a3478a4 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -63,7 +63,7 @@ INDEX INDEX _vasnprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int vprintf(const char *<[fmt]>, va_list <[list]>); diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c index c5fcae577..23b7a5686 100644 --- a/newlib/libc/stdio/vfscanf.c +++ b/newlib/libc/stdio/vfscanf.c @@ -32,7 +32,7 @@ INDEX INDEX _vsscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int vscanf(const char *<[fmt]>, va_list <[list]>); @@ -46,40 +46,6 @@ ANSI_SYNOPSIS int _vsscanf_r(struct _reent *<[reent]>, const char *<[str]>, const char *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vscanf( <[fmt]>, <[ist]>) - char *<[fmt]>; - va_list <[list]>; - - int vfscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsscanf( <[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>) - struct _reent *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c index 4786ed6a9..9c421d267 100644 --- a/newlib/libc/stdio/vfwprintf.c +++ b/newlib/libc/stdio/vfwprintf.c @@ -47,7 +47,7 @@ INDEX INDEX _vswprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include #include diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c index fd4f1f9f6..b945a3507 100644 --- a/newlib/libc/stdio/vfwscanf.c +++ b/newlib/libc/stdio/vfwscanf.c @@ -32,7 +32,7 @@ INDEX INDEX _vswscanf -ANSI_SYNOPSIS +SYNOPSIS #include #include int vwscanf(const wchar_t *__restrict <[fmt]>, va_list <[list]>); @@ -48,40 +48,6 @@ ANSI_SYNOPSIS int _vswscanf(struct _reent *<[reent]>, const wchar_t *<[str]>, const wchar_t *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vwscanf( <[fmt]>, <[ist]>) - wchar_t *__restrict <[fmt]>; - va_list <[list]>; - - int vfwscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *__restrict <[fp]>; - wchar_t *__restrict <[fmt]>; - va_list <[list]>; - - int vswscanf( <[str]>, <[fmt]>, <[list]>) - wchar_t *__restrict <[str]>; - wchar_t *__restrict <[fmt]>; - va_list <[list]>; - - int _vwscanf( <[reent]>, <[fmt]>, <[ist]>) - struct _reent *<[reent]>; - wchar_t *<[fmt]>; - va_list <[list]>; - - int _vfwscanf( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - FILE *<[fp]>; - wchar_t *<[fmt]>; - va_list <[list]>; - - int _vswscanf( <[reent]>, <[str]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - wchar_t *<[str]>; - wchar_t *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in diff --git a/newlib/libc/stdio/viprintf.c b/newlib/libc/stdio/viprintf.c index fec92fa8a..85ae286bb 100644 --- a/newlib/libc/stdio/viprintf.c +++ b/newlib/libc/stdio/viprintf.c @@ -44,7 +44,7 @@ INDEX INDEX _vasniprintf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int viprintf(const char *<[fmt]>, va_list <[list]>); diff --git a/newlib/libc/stdio/viscanf.c b/newlib/libc/stdio/viscanf.c index 9a7d0c5f2..379daa232 100644 --- a/newlib/libc/stdio/viscanf.c +++ b/newlib/libc/stdio/viscanf.c @@ -34,7 +34,7 @@ INDEX INDEX _vsiscanf_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int viscanf(const char *<[fmt]>, va_list <[list]>); @@ -48,40 +48,6 @@ ANSI_SYNOPSIS int _vsiscanf_r(struct _reent *<[reent]>, const char *<[str]>, const char *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int viscanf( <[fmt]>, <[ist]>) - char *<[fmt]>; - va_list <[list]>; - - int vfiscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsiscanf( <[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _viscanf_r( <[reent]>, <[fmt]>, <[ist]>) - struct _reent *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfiscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsiscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>) - struct _reent *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in From patchwork Thu Nov 30 10:28:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120108 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486524qgn; Thu, 30 Nov 2017 02:30:08 -0800 (PST) X-Google-Smtp-Source: AGs4zMabsY/1FcGNEI7dFceJa/hMTaqtBJBd/0wPLTWVK7gDL237M8m4O8oyq/8xo8/D8vDSJ766 X-Received: by 10.99.6.23 with SMTP id 23mr1921738pgg.276.1512037808530; Thu, 30 Nov 2017 02:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037808; cv=none; d=google.com; s=arc-20160816; b=Wz1kOU/DlOeYVysqdx2RjmllcGK7XG5foIvquxAZ/8v4/Q6+wj2lJrhWhmoexHk74I x6jO9LW33kRhaC/Lpm4UvpLR2g2vcRymI1dcVWBFphjM2eYN8sX5i7E6VRgQjiFdkUIM qHToq8zEGm95sHwWnw+kifWZJ3orM7wp3uD/ECexh12WbEjXq2SswDhMi+mqXJKFNYTe Ilvuc9HK/oZasflVsPAVK7uITinvQQ14YZVIcHCUOwFnNcHXabJabqoDe1WxqdGT6LTV LyLUo2Qam+X2MJdCH0EFrE04EEMGEQOS7VL8zqBKbetAc7cPL8EfkSN5ZCE83ync2Wjx xT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=kf6som9j1M93bjRdmAwqXIYy+tH7zMXkIDL94AeAHcA=; b=DSvS3Nogp4HuzowPKD1OWvpaTnGTWK0PJM58p18PiL2kKbsoqEmoX/f0+HUuBqKHAn XIjKI29FJV1jP+71AIKPsHee5DCW6xF1GqqG7WZOYOW28S6hxv/4jiGypChdJMN09aP5 FxHugc2wJLY83HVWHlGR6XRJms21YY9gWban5tR/MdqjbUpXsqJD00oIf04M94LP+A+O qpwj+fMNZ/0YYmzcfxMLRTHGTnnovWmgOeXnwTm/z1nVkkHw+HM+XwktiLJN1ehcyMi0 0UD+gTNHOlh3Ypylbj+IB3ZHgJ51zSvw2HAjPiKk/pRqMMq6tDeE8UXs2q9tjPVlKjBV DPBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Mn8fDTBk; spf=pass (google.com: domain of newlib-return-15423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15423-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ba6si2875401plb.655.2017.11.30.02.30.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:08 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Mn8fDTBk; spf=pass (google.com: domain of newlib-return-15423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15423-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=jq9K9MNBtTEuGVbkLPadmDIeWmzFd27 4MaWGhl+NpK9dSNBucP9Cnpz4rS7+oeiJp5OtoIo0AyXapWjtggjk2kt8I0LSR3f zLaAqN/LaKgmJY9LcJVGnLRTt3qIHir8c9ZXd4csYrFKlPynSGuOQAphB3cMXmq3 1Co8UsWxWpkU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=wLrz04xO3fO3CwTo2jHmrHCfwrk=; b=Mn8fD TBkSg1wmKZyOqWSdpX/kkn+ghc+nNRUcK7yk3CfY9qAyPIgVR4X63NR8LE/++2hN hwhG7HdSG20RyDnDd/svqMqfoRmOVe0nhlprHZPuR/aabTKqd5QjLuAync+q04WV 4Iiua6jp7vNzSwMolFZ/lKXATAiCDW1V6I1wLo= Received: (qmail 84785 invoked by alias); 30 Nov 2017 10:29:17 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 84733 invoked by uid 89); 30 Nov 2017 10:29:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2gb, 2GB, whence, 2424 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:15 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 28972820F7 for ; Thu, 30 Nov 2017 10:29:14 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D7F3D1750E for ; Thu, 30 Nov 2017 10:29:13 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 13/24] stdio64: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:47 -0600 Message-Id: <20171130102858.16160-14-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/stdio64/fgetpos64.c | 12 +----------- newlib/libc/stdio64/fopen64.c | 13 +------------ newlib/libc/stdio64/freopen64.c | 15 +-------------- newlib/libc/stdio64/fseeko64.c | 15 +-------------- newlib/libc/stdio64/fsetpos64.c | 13 +------------ newlib/libc/stdio64/ftello64.c | 11 +---------- newlib/libc/stdio64/tmpfile64.c | 9 +-------- 7 files changed, 7 insertions(+), 81 deletions(-) -- 2.15.0 diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c index 36f7ec90b..a1d0a3724 100644 --- a/newlib/libc/stdio64/fgetpos64.c +++ b/newlib/libc/stdio64/fgetpos64.c @@ -7,22 +7,12 @@ INDEX INDEX _fgetpos64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fgetpos64(FILE *<[fp]>, _fpos64_t *<[pos]>); int _fgetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, _fpos64_t *<[pos]>); -TRAD_SYNOPSIS - #include - int fgetpos64(<[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - - int _fgetpos64_r(<[ptr]>, <[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c index 84f7b6e49..60ac73fda 100644 --- a/newlib/libc/stdio64/fopen64.c +++ b/newlib/libc/stdio64/fopen64.c @@ -24,23 +24,12 @@ INDEX INDEX _fopen64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fopen64(const char *<[file]>, const char *<[mode]>); FILE *_fopen64_r(void *<[reent]>, const char *<[file]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fopen64(<[file]>, <[mode]>) - char *<[file]>; - char *<[mode]>; - - FILE *_fopen64_r(<[reent]>, <[file]>, <[mode]>) - char *<[reent]>; - char *<[file]>; - char *<[mode]>; - DESCRIPTION <> is identical to <> except it opens a large file that is potentially >2GB in size. See <> for further details. diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index f7df35407..379462c31 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -24,26 +24,13 @@ INDEX INDEX _freopen64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *freopen64(const char *<[file]>, const char *<[mode]>, FILE *<[fp]>); FILE *_freopen64_r(struct _reent *<[ptr]>, const char *<[file]>, const char *<[mode]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - FILE *freopen64(<[file]>, <[mode]>, <[fp]>) - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - - FILE *_freopen64_r(<[ptr]>, <[file]>, <[mode]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - DESCRIPTION Use this variant of <> if you wish to specify a particular file descriptor <[fp]> (notably <>, <>, or <>) for diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index 34eee6783..624e91275 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -24,24 +24,11 @@ INDEX INDEX _fseeko64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fseeko64(FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>); int _fseeko64_r (struct _reent *<[ptr]>, FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>); -TRAD_SYNOPSIS - #include - - int fseeko64(<[fp]>, <[offset]>, <[whence]>); - FILE *<[fp]>; - _off64_t <[offset]>; - int <[whence]>; - - int _fseeko64_r (<[ptr]>, <[fp]>, <[offset]>, <[whence]>); - struct _reent *<[ptr]>; - FILE *<[fp]>; - _off64_t <[offset]>; - int <[whence]>; DESCRIPTION Objects of type <> can have a ``position'' that records how much diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c index 046990d7a..83d99627d 100644 --- a/newlib/libc/stdio64/fsetpos64.c +++ b/newlib/libc/stdio64/fsetpos64.c @@ -7,23 +7,12 @@ INDEX INDEX _fsetpos64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fsetpos64(FILE *<[fp]>, const _fpos64_t *<[pos]>); int _fsetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, const _fpos64_t *<[pos]>); -TRAD_SYNOPSIS - #include - int fsetpos64(<[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - - int _fsetpos64_r(<[ptr]>, <[fp]>, <[pos]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - _fpos64_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c index c4d6da24b..c6226d105 100644 --- a/newlib/libc/stdio64/ftello64.c +++ b/newlib/libc/stdio64/ftello64.c @@ -24,20 +24,11 @@ INDEX INDEX _ftello64_r -ANSI_SYNOPSIS +SYNOPSIS #include _off64_t ftello64(FILE *<[fp]>); _off64_t _ftello64_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - _off64_t ftello64(<[fp]>) - FILE *<[fp]>; - - _off64_t _ftello64_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c index 98a7d7817..d58aa1472 100644 --- a/newlib/libc/stdio64/tmpfile64.c +++ b/newlib/libc/stdio64/tmpfile64.c @@ -7,19 +7,12 @@ INDEX INDEX _tmpfile64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *tmpfile64(void); FILE *_tmpfile64_r(void *<[reent]>); -TRAD_SYNOPSIS - #include - FILE *tmpfile64(); - - FILE *_tmpfile64_r(<[reent]>) - char *<[reent]>; - DESCRIPTION Create a large temporary file (a file which will be deleted automatically), using a name generated by <>. The temporary file is opened with From patchwork Thu Nov 30 10:28:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120111 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp487009qgn; Thu, 30 Nov 2017 02:30:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMalTBuaApkkUSSb9GUzJe0n9ategCDSHg1rAsoOA6h26SgOb9TVlcmWCNkZ3E3Ys1R/3ajQ X-Received: by 10.159.244.12 with SMTP id x12mr2174362plr.312.1512037839882; Thu, 30 Nov 2017 02:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037839; cv=none; d=google.com; s=arc-20160816; b=TUeXAV5V8L9YfhMd0iW1o9VnV9opDNROU/vKAdX2ETD75ZKsZwW8gewB0eofytp0Da IsPx5ipK+2+W0IOT9i19dQJbEWlYFyyEGluOi9IFCI4fn2GMG4h8Qx5vYPR1unbXPk/k 4hJV8x+PtGIsxQSYCNjiMbR2GmZ+WKZXNAJebRa0b0pPljuZsOEH89nu8R1T+XRXh0Me nwWUfEJu46CnMhLykaahL/aE8Vbfyas5R7t2H7XplihhYszJooQvTWj855tDbZclphyl 8dGhzs1CTKJOPsLXltqKXLANVEvQozr69NpR/Smt1YNuC1iU36pZaY8kmpX8Hya7lGUr P02g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=JG0XU5l9hsNXyG7+MI3KRoil2GjIBXzEVHu02ZYh5X0=; b=OAhd2zADwM0Hh2Z1+QexXA78eaC1LDpjAi/o5v3Sxm6CpDUZg9ciZZEuwyJFI0hBbo P7YGvEpYOvYuvbXYHKCyW7OiEJsj1MfzNy1hrxh2QUVLMgObMHY/j3/qlGx89a0ir0YH 0xLn8oeUNGWrgQcenXtuef5r65vzbEzOwugoPn6P3qrVeS5OmeQMlFuBI29TO6c3m1i6 p6nFfMviRy5iUWMy2V5/dXNuOnXEqEyEqh2WfQyF/a2ABUkGP2PBoTiUKmWS1m0tEA4D qWMd23NOsJE0YQ+uM4mi4Ija3Bg3MIDAP0z7NNQ5z2bgVw3td3cpk2PuP2YAlWCPe998 CKIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=bFwpY8m2; spf=pass (google.com: domain of newlib-return-15426-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15426-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 133si2976594pfy.414.2017.11.30.02.30.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15426-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=bFwpY8m2; spf=pass (google.com: domain of newlib-return-15426-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15426-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=u9cbeWXTVTr5kRXxNDkLZ0Hy7JH8Zh/ 8KaHFzfeRcJLY4DihDbdPKb8K4MabEGVvSNmIixuVwlpoD5W8buWNOgVGqEpUHKf AI/6UzfZ5Xrfbt1BzUVGK5gCwUQXRUfwEDkLcFvxGzC/b0zIal/8c26jIpNIhjJd q0xp02w6zUJw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=MOfeWmKa7FpgCdiw2sdfSR5vrdc=; b=bFwpY 8m2TPPNctqKWa8JjgKBSaK9dYNbTqcpT3OTnskjq4KLgMTrxXqLO57RYNnPfsjWn q3KHR6PvpbvKgzglqovGHImu+2qXExIrRnZvShKlyaI1PxDc/KFd9Afm/Ic9v8w9 O2Z5jO+4RjKcUddLN/VLyFDeKJ/KRquZB72BhA= Received: (qmail 85399 invoked by alias); 30 Nov 2017 10:29:22 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 85294 invoked by uid 89); 30 Nov 2017 10:29:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=1514, enroll, Divide, nwc X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:16 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EC927820F2 for ; Thu, 30 Nov 2017 10:29:14 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 48AE04DA0B for ; Thu, 30 Nov 2017 10:29:14 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 14/24] stdlib: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:48 -0600 Message-Id: <20171130102858.16160-15-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/stdlib/_Exit.c | 7 +----- newlib/libc/stdlib/a64l.c | 10 +------- newlib/libc/stdlib/abort.c | 6 +---- newlib/libc/stdlib/abs.c | 7 +----- newlib/libc/stdlib/assert.c | 2 +- newlib/libc/stdlib/atexit.c | 7 +----- newlib/libc/stdlib/atof.c | 10 +------- newlib/libc/stdlib/atoi.c | 19 +-------------- newlib/libc/stdlib/atoll.c | 11 +-------- newlib/libc/stdlib/calloc.c | 14 +---------- newlib/libc/stdlib/div.c | 7 +----- newlib/libc/stdlib/ecvtbuf.c | 19 +-------------- newlib/libc/stdlib/efgcvt.c | 41 ++------------------------------ newlib/libc/stdlib/envlock.c | 9 +------ newlib/libc/stdlib/exit.c | 7 +----- newlib/libc/stdlib/getenv.c | 7 +----- newlib/libc/stdlib/getenv_r.c | 8 +------ newlib/libc/stdlib/itoa.c | 2 +- newlib/libc/stdlib/labs.c | 7 +----- newlib/libc/stdlib/ldiv.c | 7 +----- newlib/libc/stdlib/llabs.c | 7 +----- newlib/libc/stdlib/lldiv.c | 7 +----- newlib/libc/stdlib/malloc.c | 52 +---------------------------------------- newlib/libc/stdlib/mblen.c | 8 +------ newlib/libc/stdlib/mblen_r.c | 10 +------- newlib/libc/stdlib/mbsnrtowcs.c | 35 +-------------------------- newlib/libc/stdlib/mbstowcs.c | 9 +------ newlib/libc/stdlib/mbtowc.c | 9 +------ newlib/libc/stdlib/mlock.c | 9 +------ newlib/libc/stdlib/mstats.c | 23 +----------------- newlib/libc/stdlib/on_exit.c | 8 +------ newlib/libc/stdlib/rand.c | 13 +---------- newlib/libc/stdlib/rand48.c | 28 +--------------------- newlib/libc/stdlib/random.c | 2 +- newlib/libc/stdlib/rpmatch.c | 7 +----- newlib/libc/stdlib/strtod.c | 17 +------------- newlib/libc/stdlib/strtol.c | 15 +----------- newlib/libc/stdlib/strtoll.c | 15 +----------- newlib/libc/stdlib/strtoul.c | 15 +----------- newlib/libc/stdlib/strtoull.c | 15 +----------- newlib/libc/stdlib/system.c | 11 +-------- newlib/libc/stdlib/utoa.c | 2 +- newlib/libc/stdlib/wcsnrtombs.c | 35 +-------------------------- newlib/libc/stdlib/wcstod.c | 22 +---------------- newlib/libc/stdlib/wcstol.c | 15 +----------- newlib/libc/stdlib/wcstoll.c | 15 +----------- newlib/libc/stdlib/wcstombs.c | 9 +------ newlib/libc/stdlib/wcstoul.c | 15 +----------- newlib/libc/stdlib/wcstoull.c | 15 +----------- newlib/libc/stdlib/wctomb.c | 8 +------ 50 files changed, 51 insertions(+), 607 deletions(-) -- 2.15.0 diff --git a/newlib/libc/stdlib/_Exit.c b/newlib/libc/stdlib/_Exit.c index 3f189a21f..b07559acb 100644 --- a/newlib/libc/stdlib/_Exit.c +++ b/newlib/libc/stdlib/_Exit.c @@ -5,15 +5,10 @@ FUNCTION INDEX _Exit -ANSI_SYNOPSIS +SYNOPSIS #include void _Exit(int <[code]>); -TRAD_SYNOPSIS - #include - void _Exit(<[code]>) - int <[code]>; - DESCRIPTION Use <<_Exit>> to return control from a program to the host operating environment. Use the argument <[code]> to pass an exit status to the diff --git a/newlib/libc/stdlib/a64l.c b/newlib/libc/stdlib/a64l.c index ee3d40d49..8d68ed0e9 100644 --- a/newlib/libc/stdlib/a64l.c +++ b/newlib/libc/stdlib/a64l.c @@ -7,19 +7,11 @@ INDEX INDEX l64a -ANSI_SYNOPSIS +SYNOPSIS #include long a64l(const char *<[input]>); char *l64a(long <[input]>); -TRAD_SYNOPSIS - #include - long a64l(<[input]>) - const char *<[input]>; - - char *l64a(<[input]>) - long <[input]>; - DESCRIPTION Conversion is performed between long and radix-64 characters. The <> routine transforms up to 32 bits of input value starting from diff --git a/newlib/libc/stdlib/abort.c b/newlib/libc/stdlib/abort.c index 93f7c2f42..febc07a31 100644 --- a/newlib/libc/stdlib/abort.c +++ b/newlib/libc/stdlib/abort.c @@ -15,14 +15,10 @@ FUNCTION INDEX abort -ANSI_SYNOPSIS +SYNOPSIS #include void abort(void); -TRAD_SYNOPSIS - #include - void abort(); - DESCRIPTION Use <> to signal that your program has detected a condition it cannot deal with. Normally, <> ends your program's execution. diff --git a/newlib/libc/stdlib/abs.c b/newlib/libc/stdlib/abs.c index 0308b5729..d347265fa 100644 --- a/newlib/libc/stdlib/abs.c +++ b/newlib/libc/stdlib/abs.c @@ -5,15 +5,10 @@ FUNCTION INDEX abs -ANSI_SYNOPSIS +SYNOPSIS #include int abs(int <[i]>); -TRAD_SYNOPSIS - #include - int abs(<[i]>) - int <[i]>; - DESCRIPTION <> returns @tex diff --git a/newlib/libc/stdlib/assert.c b/newlib/libc/stdlib/assert.c index 135bf1519..a6218746c 100644 --- a/newlib/libc/stdlib/assert.c +++ b/newlib/libc/stdlib/assert.c @@ -5,7 +5,7 @@ FUNCTION INDEX assert -ANSI_SYNOPSIS +SYNOPSIS #include void assert(int <[expression]>); diff --git a/newlib/libc/stdlib/atexit.c b/newlib/libc/stdlib/atexit.c index fa91deb03..78180895c 100644 --- a/newlib/libc/stdlib/atexit.c +++ b/newlib/libc/stdlib/atexit.c @@ -12,15 +12,10 @@ FUNCTION INDEX atexit -ANSI_SYNOPSIS +SYNOPSIS #include int atexit (void (*<[function]>)(void)); -TRAD_SYNOPSIS - #include - int atexit ((<[function]>) - void (*<[function]>)(); - DESCRIPTION You can use <> to enroll functions in a list of functions that will be called when your program terminates normally. The argument is diff --git a/newlib/libc/stdlib/atof.c b/newlib/libc/stdlib/atof.c index 8497f6807..4653d4f93 100644 --- a/newlib/libc/stdlib/atof.c +++ b/newlib/libc/stdlib/atof.c @@ -7,19 +7,11 @@ INDEX INDEX atoff -ANSI_SYNOPSIS +SYNOPSIS #include double atof(const char *<[s]>); float atoff(const char *<[s]>); -TRAD_SYNOPSIS - #include - double atof(<[s]>) - char *<[s]>; - - float atoff(<[s]>) - char *<[s]>; - DESCRIPTION <> converts the initial portion of a string to a <>. <> converts the initial portion of a string to a <>. diff --git a/newlib/libc/stdlib/atoi.c b/newlib/libc/stdlib/atoi.c index 6156eda4d..ac3b39a0e 100644 --- a/newlib/libc/stdlib/atoi.c +++ b/newlib/libc/stdlib/atoi.c @@ -11,30 +11,13 @@ INDEX INDEX _atol_r -ANSI_SYNOPSIS +SYNOPSIS #include int atoi(const char *<[s]>); long atol(const char *<[s]>); int _atoi_r(struct _reent *<[ptr]>, const char *<[s]>); long _atol_r(struct _reent *<[ptr]>, const char *<[s]>); -TRAD_SYNOPSIS - #include - int atoi(<[s]>) - char *<[s]>; - - long atol(<[s]>) - char *<[s]>; - - int _atoi_r(<[ptr]>, <[s]>) - struct _reent *<[ptr]>; - char *<[s]>; - - long _atol_r(<[ptr]>, <[s]>) - struct _reent *<[ptr]>; - char *<[s]>; - - DESCRIPTION <> converts the initial portion of a string to an <>. <> converts the initial portion of a string to a <>. diff --git a/newlib/libc/stdlib/atoll.c b/newlib/libc/stdlib/atoll.c index a6abd9595..9d8a64a9c 100644 --- a/newlib/libc/stdlib/atoll.c +++ b/newlib/libc/stdlib/atoll.c @@ -7,20 +7,11 @@ INDEX INDEX _atoll_r -ANSI_SYNOPSIS +SYNOPSIS #include long long atoll(const char *<[str]>); long long _atoll_r(struct _reent *<[ptr]>, const char *<[str]>); -TRAD_SYNOPSIS - #include - long long atoll(<[str]>) - const char *<[str]>; - - long long _atoll_r(<[ptr]>, <[str]>) - struct _reent *<[ptr]>; - const char *<[str]>; - DESCRIPTION The function <> converts the initial portion of the string pointed to by <<*<[str]>>> to a type <>. A call to diff --git a/newlib/libc/stdlib/calloc.c b/newlib/libc/stdlib/calloc.c index 4415c6591..3a723783b 100644 --- a/newlib/libc/stdlib/calloc.c +++ b/newlib/libc/stdlib/calloc.c @@ -11,22 +11,10 @@ INDEX INDEX _calloc_r -ANSI_SYNOPSIS +SYNOPSIS #include void *calloc(size_t <[n]>, size_t <[s]>); void *_calloc_r(void *<[reent]>, size_t <[n]>, size_t <[s]>); - -TRAD_SYNOPSIS - #include - char *calloc(<[n]>, <[s]>) - size_t <[n]>, <[s]>; - - char *_calloc_r(<[reent]>, <[n]>, <[s]>) - char *<[reent]>; - size_t <[n]>; - size_t <[s]>; - - DESCRIPTION Use <> to request a block of memory sufficient to hold an diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c index 816c3fb3c..a780a2d3a 100644 --- a/newlib/libc/stdlib/div.c +++ b/newlib/libc/stdlib/div.c @@ -5,15 +5,10 @@ FUNCTION INDEX div -ANSI_SYNOPSIS +SYNOPSIS #include div_t div(int <[n]>, int <[d]>); -TRAD_SYNOPSIS - #include - div_t div(<[n]>, <[d]>) - int <[n]>, <[d]>; - DESCRIPTION Divide @tex diff --git a/newlib/libc/stdlib/ecvtbuf.c b/newlib/libc/stdlib/ecvtbuf.c index feaa33fd0..ee58c9a9a 100644 --- a/newlib/libc/stdlib/ecvtbuf.c +++ b/newlib/libc/stdlib/ecvtbuf.c @@ -7,7 +7,7 @@ INDEX INDEX fcvtbuf -ANSI_SYNOPSIS +SYNOPSIS #include char *ecvtbuf(double <[val]>, int <[chars]>, int *<[decpt]>, @@ -16,23 +16,6 @@ ANSI_SYNOPSIS char *fcvtbuf(double <[val]>, int <[decimals]>, int *<[decpt]>, int *<[sgn]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - - char *ecvtbuf(<[val]>, <[chars]>, <[decpt]>, <[sgn]>, <[buf]>); - double <[val]>; - int <[chars]>; - int *<[decpt]>; - int *<[sgn]>; - char *<[buf]>; - - char *fcvtbuf(<[val]>, <[decimals]>, <[decpt]>, <[sgn]>, <[buf]>); - double <[val]>; - int <[decimals]>; - int *<[decpt]>; - int *<[sgn]>; - char *<[buf]>; - DESCRIPTION <> and <> produce (null-terminated) strings of digits representating the <> number <[val]>. diff --git a/newlib/libc/stdlib/efgcvt.c b/newlib/libc/stdlib/efgcvt.c index b7d9812f6..ae6424559 100644 --- a/newlib/libc/stdlib/efgcvt.c +++ b/newlib/libc/stdlib/efgcvt.c @@ -11,7 +11,7 @@ INDEX INDEX fcvtf -ANSI_SYNOPSIS +SYNOPSIS #include char *ecvt(double <[val]>, int <[chars]>, int *<[decpt]>, int *<[sgn]>); @@ -22,31 +22,6 @@ ANSI_SYNOPSIS char *fcvtf(float <[val]>, int <[decimals]>, int *<[decpt]>, int *<[sgn]>); -TRAD_SYNOPSIS - #include - - char *ecvt(<[val]>, <[chars]>, <[decpt]>, <[sgn]>); - double <[val]>; - int <[chars]>; - int *<[decpt]>; - int *<[sgn]>; - char *ecvtf(<[val]>, <[chars]>, <[decpt]>, <[sgn]>); - float <[val]>; - int <[chars]>; - int *<[decpt]>; - int *<[sgn]>; - - char *fcvt(<[val]>, <[decimals]>, <[decpt]>, <[sgn]>); - double <[val]>; - int <[decimals]>; - int *<[decpt]>; - int *<[sgn]>; - char *fcvtf(<[val]>, <[decimals]>, <[decpt]>, <[sgn]>); - float <[val]>; - int <[decimals]>; - int *<[decpt]>; - int *<[sgn]>; - DESCRIPTION <> and <> produce (null-terminated) strings of digits representating the <> number <[val]>. @@ -91,24 +66,12 @@ INDEX INDEX gcvtf -ANSI_SYNOPSIS +SYNOPSIS #include char *gcvt(double <[val]>, int <[precision]>, char *<[buf]>); char *gcvtf(float <[val]>, int <[precision]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - - char *gcvt(<[val]>, <[precision]>, <[buf]>); - double <[val]>; - int <[precision]>; - char *<[buf]>; - char *gcvtf(<[val]>, <[precision]>, <[buf]>); - float <[val]>; - int <[precision]>; - char *<[buf]>; - DESCRIPTION <> writes a fully formatted number as a null-terminated string in the buffer <<*<[buf]>>>. <> produces corresponding diff --git a/newlib/libc/stdlib/envlock.c b/newlib/libc/stdlib/envlock.c index 410a28a9c..3afe30ee9 100644 --- a/newlib/libc/stdlib/envlock.c +++ b/newlib/libc/stdlib/envlock.c @@ -7,18 +7,11 @@ INDEX INDEX __env_unlock -ANSI_SYNOPSIS +SYNOPSIS #include void __env_lock (struct _reent *<[reent]>); void __env_unlock (struct _reent *<[reent]>); -TRAD_SYNOPSIS - void __env_lock(<[reent]>) - struct _reent *<[reent]>; - - void __env_unlock(<[reent]>) - struct _reent *<[reent]>; - DESCRIPTION The <> family of routines call these functions when they need to modify the environ variable. The version of these routines supplied in the diff --git a/newlib/libc/stdlib/exit.c b/newlib/libc/stdlib/exit.c index 1dc56944a..8d1be9d3a 100644 --- a/newlib/libc/stdlib/exit.c +++ b/newlib/libc/stdlib/exit.c @@ -12,15 +12,10 @@ FUNCTION INDEX exit -ANSI_SYNOPSIS +SYNOPSIS #include void exit(int <[code]>); -TRAD_SYNOPSIS - #include - void exit(<[code]>) - int <[code]>; - DESCRIPTION Use <> to return control from a program to the host operating environment. Use the argument <[code]> to pass an exit status to the diff --git a/newlib/libc/stdlib/getenv.c b/newlib/libc/stdlib/getenv.c index 79360ac42..c64241ee6 100644 --- a/newlib/libc/stdlib/getenv.c +++ b/newlib/libc/stdlib/getenv.c @@ -7,15 +7,10 @@ INDEX INDEX environ -ANSI_SYNOPSIS +SYNOPSIS #include char *getenv(const char *<[name]>); -TRAD_SYNOPSIS - #include - char *getenv(<[name]>) - char *<[name]>; - DESCRIPTION <> searches the list of environment variable names and values (using the global pointer ``<>'') for a variable whose diff --git a/newlib/libc/stdlib/getenv_r.c b/newlib/libc/stdlib/getenv_r.c index cdc12c0a9..7376f7407 100644 --- a/newlib/libc/stdlib/getenv_r.c +++ b/newlib/libc/stdlib/getenv_r.c @@ -7,16 +7,10 @@ INDEX INDEX environ -ANSI_SYNOPSIS +SYNOPSIS #include char *_getenv_r(struct _reent *<[reent_ptr]>, const char *<[name]>); -TRAD_SYNOPSIS - #include - char *_getenv_r(<[reent_ptr]>, <[name]>) - struct _reent *<[reent_ptr]>; - char *<[name]>; - DESCRIPTION <<_getenv_r>> searches the list of environment variable names and values (using the global pointer ``<>'') for a variable whose diff --git a/newlib/libc/stdlib/itoa.c b/newlib/libc/stdlib/itoa.c index 377834d03..3178cd454 100644 --- a/newlib/libc/stdlib/itoa.c +++ b/newlib/libc/stdlib/itoa.c @@ -5,7 +5,7 @@ FUNCTION INDEX itoa -ANSI_SYNOPSIS +SYNOPSIS #include char *itoa(int <[value]>, char *<[str]>, int <[base]>); char *__itoa(int <[value]>, char *<[str]>, int <[base]>); diff --git a/newlib/libc/stdlib/labs.c b/newlib/libc/stdlib/labs.c index 634cf7348..712f56c37 100644 --- a/newlib/libc/stdlib/labs.c +++ b/newlib/libc/stdlib/labs.c @@ -5,15 +5,10 @@ FUNCTION INDEX labs -ANSI_SYNOPSIS +SYNOPSIS #include long labs(long <[i]>); -TRAD_SYNOPSIS - #include - long labs(<[i]>) - long <[i]>; - DESCRIPTION <> returns @tex diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c index d7508f1c5..242b6bd87 100644 --- a/newlib/libc/stdlib/ldiv.c +++ b/newlib/libc/stdlib/ldiv.c @@ -5,15 +5,10 @@ FUNCTION INDEX ldiv -ANSI_SYNOPSIS +SYNOPSIS #include ldiv_t ldiv(long <[n]>, long <[d]>); -TRAD_SYNOPSIS - #include - ldiv_t ldiv(<[n]>, <[d]>) - long <[n]>, <[d]>; - DESCRIPTION Divide @tex diff --git a/newlib/libc/stdlib/llabs.c b/newlib/libc/stdlib/llabs.c index 496373910..c2a561c38 100644 --- a/newlib/libc/stdlib/llabs.c +++ b/newlib/libc/stdlib/llabs.c @@ -5,15 +5,10 @@ FUNCTION INDEX llabs -ANSI_SYNOPSIS +SYNOPSIS #include long long llabs(long long <[j]>); -TRAD_SYNOPSIS - #include - long long llabs(<[j]>) - long long <[j]>; - DESCRIPTION The <> function computes the absolute value of the long long integer argument <[j]> (also called the magnitude of <[j]>). diff --git a/newlib/libc/stdlib/lldiv.c b/newlib/libc/stdlib/lldiv.c index 6b853e4b6..61a9b50ca 100644 --- a/newlib/libc/stdlib/lldiv.c +++ b/newlib/libc/stdlib/lldiv.c @@ -5,15 +5,10 @@ FUNCTION INDEX lldiv -ANSI_SYNOPSIS +SYNOPSIS #include lldiv_t lldiv(long long <[n]>, long long <[d]>); -TRAD_SYNOPSIS - #include - lldiv_t lldiv(<[n]>, <[d]>) - long long <[n]>, <[d]>; - DESCRIPTION Divide @tex diff --git a/newlib/libc/stdlib/malloc.c b/newlib/libc/stdlib/malloc.c index 160a13eff..9cf897852 100644 --- a/newlib/libc/stdlib/malloc.c +++ b/newlib/libc/stdlib/malloc.c @@ -43,7 +43,7 @@ INDEX INDEX _malloc_usable_size_r -ANSI_SYNOPSIS +SYNOPSIS #include void *malloc(size_t <[nbytes]>); void *realloc(void *<[aptr]>, size_t <[nbytes]>); @@ -66,56 +66,6 @@ ANSI_SYNOPSIS size_t _malloc_usable_size_r(void *<[reent]>, void *<[aptr]>); -TRAD_SYNOPSIS - #include - char *malloc(<[nbytes]>) - size_t <[nbytes]>; - - char *realloc(<[aptr]>, <[nbytes]>) - char *<[aptr]>; - size_t <[nbytes]>; - - char *reallocf(<[aptr]>, <[nbytes]>) - char *<[aptr]>; - size_t <[nbytes]>; - - void free(<[aptr]>) - char *<[aptr]>; - - char *memalign(<[align]>, <[nbytes]>) - size_t <[align]>; - size_t <[nbytes]>; - - size_t malloc_usable_size(<[aptr]>) - char *<[aptr]>; - - char *_malloc_r(<[reent]>,<[nbytes]>) - char *<[reent]>; - size_t <[nbytes]>; - - char *_realloc_r(<[reent]>, <[aptr]>, <[nbytes]>) - char *<[reent]>; - char *<[aptr]>; - size_t <[nbytes]>; - - char *_reallocf_r(<[reent]>, <[aptr]>, <[nbytes]>) - char *<[reent]>; - char *<[aptr]>; - size_t <[nbytes]>; - - void _free_r(<[reent]>, <[aptr]>) - char *<[reent]>; - char *<[aptr]>; - - char *_memalign_r(<[reent]>, <[align]>, <[nbytes]>) - char *<[reent]>; - size_t <[align]>; - size_t <[nbytes]>; - - size_t malloc_usable_size(<[reent]>, <[aptr]>) - char *<[reent]>; - char *<[aptr]>; - DESCRIPTION These functions manage a pool of system memory. diff --git a/newlib/libc/stdlib/mblen.c b/newlib/libc/stdlib/mblen.c index f9fb46466..30d759be0 100644 --- a/newlib/libc/stdlib/mblen.c +++ b/newlib/libc/stdlib/mblen.c @@ -5,16 +5,10 @@ FUNCTION INDEX mblen -ANSI_SYNOPSIS +SYNOPSIS #include int mblen(const char *<[s]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int mblen(<[s]>, <[n]>) - const char *<[s]>; - size_t <[n]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <>. In this case, the diff --git a/newlib/libc/stdlib/mblen_r.c b/newlib/libc/stdlib/mblen_r.c index 9c1533ec4..5e58e1e45 100644 --- a/newlib/libc/stdlib/mblen_r.c +++ b/newlib/libc/stdlib/mblen_r.c @@ -5,18 +5,10 @@ FUNCTION INDEX _mblen_r -ANSI_SYNOPSIS +SYNOPSIS #include int _mblen_r(struct _reent *<[r]>, const char *<[s]>, size_t <[n]>, int *<[state]>); -TRAD_SYNOPSIS - #include - int _mblen_r(<[r]>, <[s]>, <[n]>, <[state]>) - struct _reent *<[r]>; - const char *<[s]>; - size_t <[n]>; - int *<[state]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <<_mblen_r>>. In this case, the diff --git a/newlib/libc/stdlib/mbsnrtowcs.c b/newlib/libc/stdlib/mbsnrtowcs.c index 7ab384721..018f075ee 100644 --- a/newlib/libc/stdlib/mbsnrtowcs.c +++ b/newlib/libc/stdlib/mbsnrtowcs.c @@ -11,7 +11,7 @@ INDEX INDEX _mbsnrtowcs_r -ANSI_SYNOPSIS +SYNOPSIS #include size_t mbsrtowcs(wchar_t *__restrict <[dst]>, const char **__restrict <[src]>, @@ -33,39 +33,6 @@ ANSI_SYNOPSIS const char **<[src]>, size_t <[nms]>, size_t <[len]>, mbstate_t *<[ps]>); -TRAD_SYNOPSIS - #include - size_t mbsrtowcs(<[dst]>, <[src]>, <[len]>, <[ps]>) - wchar_t *__restrict <[dst]>; - const char **__restrict <[src]>; - size_t <[len]>; - mbstate_t *__restrict <[ps]>; - - #include - size_t _mbsrtowcs_r(<[ptr]>, <[dst]>, <[src]>, <[len]>, <[ps]>) - struct _reent *<[ptr]>; - wchar_t *<[dst]>; - const char **<[src]>; - size_t <[len]>; - mbstate_t *<[ps]>; - - #include - size_t mbsnrtowcs(<[dst]>, <[src]>, <[nms]>, <[len]>, <[ps]>) - wchar_t *__restrict <[dst]>; - const char **__restrict <[src]>; - size_t <[nms]>; - size_t <[len]>; - mbstate_t *__restrict <[ps]>; - - #include - size_t _mbsnrtowcs_r(<[ptr]>, <[dst]>, <[src]>, <[nms]>, <[len]>, <[ps]>) - struct _reent *<[ptr]>; - wchar_t *<[dst]>; - const char **<[src]>; - size_t <[nms]>; - size_t <[len]>; - mbstate_t *<[ps]>; - DESCRIPTION The <> function converts a sequence of multibyte characters pointed to indirectly by <[src]> into a sequence of corresponding wide diff --git a/newlib/libc/stdlib/mbstowcs.c b/newlib/libc/stdlib/mbstowcs.c index 09543451c..70ed9ede6 100644 --- a/newlib/libc/stdlib/mbstowcs.c +++ b/newlib/libc/stdlib/mbstowcs.c @@ -5,17 +5,10 @@ FUNCTION INDEX mbstowcs -ANSI_SYNOPSIS +SYNOPSIS #include int mbstowcs(wchar_t *restrict <[pwc]>, const char *restrict <[s]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int mbstowcs(<[pwc]>, <[s]>, <[n]>) - wchar_t *<[pwc]>; - const char *<[s]>; - size_t <[n]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <>. In this case, the diff --git a/newlib/libc/stdlib/mbtowc.c b/newlib/libc/stdlib/mbtowc.c index 7b8be771c..0c29cf3d9 100644 --- a/newlib/libc/stdlib/mbtowc.c +++ b/newlib/libc/stdlib/mbtowc.c @@ -5,17 +5,10 @@ FUNCTION INDEX mbtowc -ANSI_SYNOPSIS +SYNOPSIS #include int mbtowc(wchar_t *restrict <[pwc]>, const char *restrict <[s]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - int mbtowc(<[pwc]>, <[s]>, <[n]>) - wchar_t *<[pwc]>; - const char *<[s]>; - size_t <[n]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <>. In this case, diff --git a/newlib/libc/stdlib/mlock.c b/newlib/libc/stdlib/mlock.c index 4c392947d..23aa10173 100644 --- a/newlib/libc/stdlib/mlock.c +++ b/newlib/libc/stdlib/mlock.c @@ -8,18 +8,11 @@ INDEX INDEX __malloc_unlock -ANSI_SYNOPSIS +SYNOPSIS #include void __malloc_lock (struct _reent *<[reent]>); void __malloc_unlock (struct _reent *<[reent]>); -TRAD_SYNOPSIS - void __malloc_lock(<[reent]>) - struct _reent *<[reent]>; - - void __malloc_unlock(<[reent]>) - struct _reent *<[reent]>; - DESCRIPTION The <> family of routines call these functions when they need to lock the memory pool. The version of these routines supplied in the library use diff --git a/newlib/libc/stdlib/mstats.c b/newlib/libc/stdlib/mstats.c index ba89f494d..88cb54c40 100644 --- a/newlib/libc/stdlib/mstats.c +++ b/newlib/libc/stdlib/mstats.c @@ -25,7 +25,7 @@ INDEX INDEX _mallopt_r -ANSI_SYNOPSIS +SYNOPSIS #include struct mallinfo mallinfo(void); void malloc_stats(void); @@ -35,27 +35,6 @@ ANSI_SYNOPSIS void _malloc_stats_r(void *<[reent]>); int _mallopt_r(void *<[reent]>, int <[parameter]>, <[value]>); -TRAD_SYNOPSIS - #include - struct mallinfo mallinfo(); - - void malloc_stats(); - - int mallopt(<[parameter]>, <[value]>) - int <[parameter]>; - int <[value]>; - - struct mallinfo _mallinfo_r(<[reent]>); - char *<[reent]>; - - void _malloc_stats_r(<[reent]>); - char *<[reent]>; - - int _mallopt_r(<[reent]>, <[parameter]>, <[value]>) - char *<[reent]>; - int <[parameter]>; - int <[value]>; - DESCRIPTION <> returns a structure describing the current state of memory allocation. The structure is defined in malloc.h. The diff --git a/newlib/libc/stdlib/on_exit.c b/newlib/libc/stdlib/on_exit.c index a405b1b51..d22fc3728 100644 --- a/newlib/libc/stdlib/on_exit.c +++ b/newlib/libc/stdlib/on_exit.c @@ -14,16 +14,10 @@ FUNCTION INDEX on_exit -ANSI_SYNOPSIS +SYNOPSIS #include int on_exit (void (*<[function]>)(int, void *), void *<[arg]>); -TRAD_SYNOPSIS - #include - int on_exit ((<[function]>, <[arg]>) - void (*<[function]>)(int, void *); - void *<[arg]>; - DESCRIPTION You can use <> to enroll functions in a list of functions that will be called when your program terminates normally. The argument is diff --git a/newlib/libc/stdlib/rand.c b/newlib/libc/stdlib/rand.c index 42acde4aa..aacb0a8a4 100644 --- a/newlib/libc/stdlib/rand.c +++ b/newlib/libc/stdlib/rand.c @@ -9,23 +9,12 @@ INDEX INDEX rand_r -ANSI_SYNOPSIS +SYNOPSIS #include int rand(void); void srand(unsigned int <[seed]>); int rand_r(unsigned int *<[seed]>); -TRAD_SYNOPSIS - #include - int rand(); - - void srand(<[seed]>) - unsigned int <[seed]>; - - void rand_r(<[seed]>) - unsigned int *<[seed]>; - - DESCRIPTION <> returns a different integer each time it is called; each integer is chosen by an algorithm designed to be unpredictable, so diff --git a/newlib/libc/stdlib/rand48.c b/newlib/libc/stdlib/rand48.c index af2be3c07..b9bf320b2 100644 --- a/newlib/libc/stdlib/rand48.c +++ b/newlib/libc/stdlib/rand48.c @@ -36,7 +36,7 @@ INDEX INDEX lcong48 -ANSI_SYNOPSIS +SYNOPSIS #include double drand48(void); double erand48(unsigned short <[xseed]>[3]); @@ -48,32 +48,6 @@ ANSI_SYNOPSIS unsigned short *seed48(unsigned short <[xseed]>[3]); void lcong48(unsigned short <[p]>[7]); -TRAD_SYNOPSIS - #include - double drand48(); - - double erand48(<[xseed]>) - unsigned short <[xseed]>[3]; - - long lrand48(); - - long nrand48(<[xseed]>) - unsigned short <[xseed]>[3]; - - long mrand48(); - - long jrand48(<[xseed]>) - unsigned short <[xseed]>[3]; - - void srand48(<[seed]>) - long <[seed]>; - - unsigned short *seed48(<[xseed]>) - unsigned short <[xseed]>[3]; - - void lcong48(<[p]>) - unsigned short <[p]>[7]; - DESCRIPTION The <> family of functions generates pseudo-random numbers using a linear congruential algorithm working on integers 48 bits in size. diff --git a/newlib/libc/stdlib/random.c b/newlib/libc/stdlib/random.c index de132f363..7abca6da4 100644 --- a/newlib/libc/stdlib/random.c +++ b/newlib/libc/stdlib/random.c @@ -7,7 +7,7 @@ INDEX INDEX srandom -ANSI_SYNOPSIS +SYNOPSIS #define _XOPEN_SOURCE 500 #include long int random(void); diff --git a/newlib/libc/stdlib/rpmatch.c b/newlib/libc/stdlib/rpmatch.c index 0bbdf43ed..93d2c3f11 100644 --- a/newlib/libc/stdlib/rpmatch.c +++ b/newlib/libc/stdlib/rpmatch.c @@ -5,15 +5,10 @@ FUNCTION INDEX rpmatch -ANSI_SYNOPSIS +SYNOPSIS #include int rpmatch(const char *<[response]>); -TRAD_SYNOPSIS - #include - int rpmatch(<[response]>) - const char *<[response]>; - DESCRIPTION The <> function determines whether <[response]> is an affirmative or negative response to a question according to the current locale. diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c index 82e847c40..236daa5f6 100644 --- a/newlib/libc/stdlib/strtod.c +++ b/newlib/libc/stdlib/strtod.c @@ -23,7 +23,7 @@ INDEX INDEX _strtod_r -ANSI_SYNOPSIS +SYNOPSIS #include double strtod(const char *restrict <[str]>, char **restrict <[tail]>); float strtof(const char *restrict <[str]>, char **restrict <[tail]>); @@ -42,21 +42,6 @@ ANSI_SYNOPSIS double _strtod_r(void *<[reent]>, const char *restrict <[str]>, char **restrict <[tail]>); -TRAD_SYNOPSIS - #include - double strtod(<[str]>,<[tail]>) - char *<[str]>; - char **<[tail]>; - - float strtof(<[str]>,<[tail]>) - char *<[str]>; - char **<[tail]>; - - double _strtod_r(<[reent]>,<[str]>,<[tail]>) - char *<[reent]>; - char *<[str]>; - char **<[tail]>; - DESCRIPTION <>, <>, <> parse the character string <[str]>, producing a substring which can be converted to a double, diff --git a/newlib/libc/stdlib/strtol.c b/newlib/libc/stdlib/strtol.c index 276ad1340..ba58b6e8c 100644 --- a/newlib/libc/stdlib/strtol.c +++ b/newlib/libc/stdlib/strtol.c @@ -11,7 +11,7 @@ INDEX INDEX _strtol_r -ANSI_SYNOPSIS +SYNOPSIS #include long strtol(const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); @@ -23,19 +23,6 @@ ANSI_SYNOPSIS long _strtol_r(void *<[reent]>, const char *restrict <[s]>, char **restrict <[ptr]>,int <[base]>); -TRAD_SYNOPSIS - #include - long strtol (<[s]>, <[ptr]>, <[base]>) - char *<[s]>; - char **<[ptr]>; - int <[base]>; - - long _strtol_r (<[reent]>, <[s]>, <[ptr]>, <[base]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/strtoll.c b/newlib/libc/stdlib/strtoll.c index e61a62a7d..2922452c7 100644 --- a/newlib/libc/stdlib/strtoll.c +++ b/newlib/libc/stdlib/strtoll.c @@ -11,7 +11,7 @@ INDEX INDEX _strtoll_r -ANSI_SYNOPSIS +SYNOPSIS #include long long strtoll(const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); @@ -25,19 +25,6 @@ ANSI_SYNOPSIS const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - long long strtoll (<[s]>, <[ptr]>, <[base]>) - const char *<[s]>; - char **<[ptr]>; - int <[base]>; - - long long _strtoll_r (<[reent]>, <[s]>, <[ptr]>, <[base]>) - char *<[reent]>; - const char *<[s]>; - char **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/strtoul.c b/newlib/libc/stdlib/strtoul.c index aa5897e13..9414661ec 100644 --- a/newlib/libc/stdlib/strtoul.c +++ b/newlib/libc/stdlib/strtoul.c @@ -11,7 +11,7 @@ INDEX INDEX _strtoul_r -ANSI_SYNOPSIS +SYNOPSIS #include unsigned long strtoul(const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); @@ -24,19 +24,6 @@ ANSI_SYNOPSIS unsigned long _strtoul_r(void *<[reent]>, const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - unsigned long strtoul(<[s]>, <[ptr]>, <[base]>) - char *<[s]>; - char **<[ptr]>; - int <[base]>; - - unsigned long _strtoul_r(<[reent]>, <[s]>, <[ptr]>, <[base]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to an <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/strtoull.c b/newlib/libc/stdlib/strtoull.c index ba6452e62..aff1fc7c3 100644 --- a/newlib/libc/stdlib/strtoull.c +++ b/newlib/libc/stdlib/strtoull.c @@ -8,7 +8,7 @@ INDEX INDEX strtoull_l -ANSI_SYNOPSIS +SYNOPSIS #include unsigned long long strtoull(const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); @@ -22,19 +22,6 @@ ANSI_SYNOPSIS const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - unsigned long long strtoull(<[s]>, <[ptr]>, <[base]>) - char *<[s]>; - char **<[ptr]>; - int <[base]>; - - unsigned long long _strtoull_r(<[reent]>, <[s]>, <[ptr]>, <[base]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to an <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c index 135a9d05b..6cacfa587 100644 --- a/newlib/libc/stdlib/system.c +++ b/newlib/libc/stdlib/system.c @@ -7,21 +7,12 @@ INDEX INDEX _system_r -ANSI_SYNOPSIS +SYNOPSIS #include int system(char *<[s]>); int _system_r(void *<[reent]>, char *<[s]>); -TRAD_SYNOPSIS - #include - int system(<[s]>) - char *<[s]>; - - int _system_r(<[reent]>, <[s]>) - char *<[reent]>; - char *<[s]>; - DESCRIPTION Use <> to pass a command string <<*<[s]>>> to <> on diff --git a/newlib/libc/stdlib/utoa.c b/newlib/libc/stdlib/utoa.c index 7738c2321..75e8616ea 100644 --- a/newlib/libc/stdlib/utoa.c +++ b/newlib/libc/stdlib/utoa.c @@ -5,7 +5,7 @@ FUNCTION INDEX utoa -ANSI_SYNOPSIS +SYNOPSIS #include char *utoa(unsigned <[value]>, char *<[str]>, int <[base]>); char *__utoa(unsigned <[value]>, char *<[str]>, int <[base]>); diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c index 8e5c38703..ed5f36968 100644 --- a/newlib/libc/stdlib/wcsnrtombs.c +++ b/newlib/libc/stdlib/wcsnrtombs.c @@ -11,7 +11,7 @@ INDEX INDEX _wcsnrtombs_r -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcsrtombs(char *__restrict <[dst]>, const wchar_t **__restrict <[src]>, size_t <[len]>, @@ -33,39 +33,6 @@ ANSI_SYNOPSIS const wchar_t **<[src]>, size_t <[nwc]>, size_t <[len]>, mbstate_t *<[ps]>); -TRAD_SYNOPSIS - #include - size_t wcsrtombs(<[dst]>, <[src]>, <[len]>, <[ps]>) - char *__restrict <[dst]>; - const wchar_t **__restrict <[src]>; - size_t <[len]>; - mbstate_t *__restrict <[ps]>; - - #include - size_t _wcsrtombs_r(<[ptr]>, <[dst]>, <[src]>, <[len]>, <[ps]>) - struct _rent *<[ptr]>; - char *<[dst]>; - const wchar_t **<[src]>; - size_t <[len]>; - mbstate_t *<[ps]>; - - #include - size_t wcsnrtombs(<[dst]>, <[src]>, <[nwc]>, <[len]>, <[ps]>) - char *__restrict <[dst]>; - const wchar_t **__restrict <[src]>; - size_t <[nwc]>; - size_t <[len]>; - mbstate_t *__restrict <[ps]>; - - #include - size_t _wcsnrtombs_r(<[ptr]>, <[dst]>, <[src]>, <[nwc]>, <[len]>, <[ps]>) - struct _rent *<[ptr]>; - char *<[dst]>; - const wchar_t **<[src]>; - size_t <[nwc]>; - size_t <[len]>; - mbstate_t *<[ps]>; - DESCRIPTION The <> function converts a string of wide characters indirectly pointed to by <[src]> to a corresponding multibyte character string stored in diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c index 605fca40b..201a2c32c 100644 --- a/newlib/libc/stdlib/wcstod.c +++ b/newlib/libc/stdlib/wcstod.c @@ -26,7 +26,7 @@ INDEX INDEX _wcstof_r -ANSI_SYNOPSIS +SYNOPSIS #include double wcstod(const wchar_t *__restrict <[str]>, wchar_t **__restrict <[tail]>); @@ -49,26 +49,6 @@ ANSI_SYNOPSIS float _wcstof_r(void *<[reent]>, const wchar_t *<[str]>, wchar_t **<[tail]>); -TRAD_SYNOPSIS - #include - double wcstod(<[str]>,<[tail]>) - wchar_t *__restrict <[str]>; - wchar_t **__restrict <[tail]>; - - float wcstof(<[str]>,<[tail]>) - wchar_t *__restrict <[str]>; - wchar_t **__restrict <[tail]>; - - double _wcstod_r(<[reent]>,<[str]>,<[tail]>) - wchar_t *<[reent]>; - wchar_t *<[str]>; - wchar_t **<[tail]>; - - float _wcstof_r(<[reent]>,<[str]>,<[tail]>) - wchar_t *<[reent]>; - wchar_t *<[str]>; - wchar_t **<[tail]>; - DESCRIPTION <>, <>, <> parse the wide-character string <[str]>, producing a substring which can be converted to a double, diff --git a/newlib/libc/stdlib/wcstol.c b/newlib/libc/stdlib/wcstol.c index 4c7480594..417a46d63 100644 --- a/newlib/libc/stdlib/wcstol.c +++ b/newlib/libc/stdlib/wcstol.c @@ -11,7 +11,7 @@ INDEX INDEX _wcstol_r -ANSI_SYNOPSIS +SYNOPSIS #include long wcstol(const wchar_t *__restrict <[s]>, wchar_t **__restrict <[ptr]>, int <[base]>); @@ -24,19 +24,6 @@ ANSI_SYNOPSIS long _wcstol_r(void *<[reent]>, const wchar_t *<[s]>, wchar_t **<[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - long wcstol (<[s]>, <[ptr]>, <[base]>) - wchar_t *__restrict <[s]>; - wchar_t **__restrict <[ptr]>; - int <[base]>; - - long _wcstol_r (<[reent]>, <[s]>, <[ptr]>, <[base]>) - struct _reent *<[reent]>; - wchar_t *<[s]>; - wchar_t **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the wide string <<*<[s]>>> to a <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/wcstoll.c b/newlib/libc/stdlib/wcstoll.c index 2996b11a6..3a7a0e28d 100644 --- a/newlib/libc/stdlib/wcstoll.c +++ b/newlib/libc/stdlib/wcstoll.c @@ -11,7 +11,7 @@ INDEX INDEX _wcstoll_r -ANSI_SYNOPSIS +SYNOPSIS #include long long wcstoll(const wchar_t *__restrict <[s]>, wchar_t **__restrict <[ptr]>,int <[base]>); @@ -24,19 +24,6 @@ ANSI_SYNOPSIS long long _wcstoll_r(void *<[reent]>, const wchar_t *<[s]>, wchar_t **<[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - long long wcstoll (<[s]>, <[ptr]>, <[base]>) - const wchar_t *__restrict <[s]>; - wchar_t **__restrict <[ptr]>; - int <[base]>; - - long long _wcstoll_r (<[reent]>, <[s]>, <[ptr]>, <[base]>) - wchar_t *<[reent]>; - const wchar_t *<[s]>; - wchar_t **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the wide string <<*<[s]>>> to a <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c index b0123a313..9e1937887 100644 --- a/newlib/libc/stdlib/wcstombs.c +++ b/newlib/libc/stdlib/wcstombs.c @@ -5,17 +5,10 @@ FUNCTION INDEX wcstombs -ANSI_SYNOPSIS +SYNOPSIS #include size_t wcstombs(char *restrict <[s]>, const wchar_t *restrict <[pwc]>, size_t <[n]>); -TRAD_SYNOPSIS - #include - size_t wcstombs(<[s]>, <[pwc]>, <[n]>) - char *<[s]>; - const wchar_t *<[pwc]>; - size_t <[n]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <>. In this case, diff --git a/newlib/libc/stdlib/wcstoul.c b/newlib/libc/stdlib/wcstoul.c index e87b2ecc9..d649810ea 100644 --- a/newlib/libc/stdlib/wcstoul.c +++ b/newlib/libc/stdlib/wcstoul.c @@ -11,7 +11,7 @@ INDEX INDEX _wcstoul_r -ANSI_SYNOPSIS +SYNOPSIS #include unsigned long wcstoul(const wchar_t *__restrict <[s]>, wchar_t **__restrict <[ptr]>, int <[base]>); @@ -24,19 +24,6 @@ ANSI_SYNOPSIS unsigned long _wcstoul_r(void *<[reent]>, const wchar_t *<[s]>, wchar_t **<[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - unsigned long wcstoul(<[s]>, <[ptr]>, <[base]>) - wchar_t *__restrict <[s]>; - wchar_t **__restrict <[ptr]>; - int <[base]>; - - unsigned long _wcstoul_r(<[reent]>, <[s]>, <[ptr]>, <[base]>) - wchar_t *<[reent]>; - wchar_t *<[s]>; - wchar_t **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the wide string <<*<[s]>>> to an <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/wcstoull.c b/newlib/libc/stdlib/wcstoull.c index 131a83795..4bb0cd781 100644 --- a/newlib/libc/stdlib/wcstoull.c +++ b/newlib/libc/stdlib/wcstoull.c @@ -11,7 +11,7 @@ INDEX INDEX _wcstoull_r -ANSI_SYNOPSIS +SYNOPSIS #include unsigned long long wcstoull(const wchar_t *__restrict <[s]>, wchar_t **__restrict <[ptr]>, @@ -26,19 +26,6 @@ ANSI_SYNOPSIS unsigned long long _wcstoull_r(void *<[reent]>, const wchar_t *<[s]>, wchar_t **<[ptr]>, int <[base]>); -TRAD_SYNOPSIS - #include - unsigned long long wcstoull(<[s]>, <[ptr]>, <[base]>) - wchar_t *__restrict <[s]>; - wchar_t **__restrict <[ptr]>; - int <[base]>; - - unsigned long long _wcstoull_r(<[reent]>, <[s]>, <[ptr]>, <[base]>) - wchar_t *<[reent]>; - wchar_t *<[s]>; - wchar_t **<[ptr]>; - int <[base]>; - DESCRIPTION The function <> converts the wide string <<*<[s]>>> to an <>. First, it breaks down the string into three parts: diff --git a/newlib/libc/stdlib/wctomb.c b/newlib/libc/stdlib/wctomb.c index 13892ffa4..8b267a324 100644 --- a/newlib/libc/stdlib/wctomb.c +++ b/newlib/libc/stdlib/wctomb.c @@ -5,16 +5,10 @@ FUNCTION INDEX wctomb -ANSI_SYNOPSIS +SYNOPSIS #include int wctomb(char *<[s]>, wchar_t <[wchar]>); -TRAD_SYNOPSIS - #include - int wctomb(<[s]>, <[wchar]>) - char *<[s]>; - wchar_t <[wchar]>; - DESCRIPTION When _MB_CAPABLE is not defined, this is a minimal ANSI-conforming implementation of <>. The From patchwork Thu Nov 30 10:28:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120129 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp501146qgn; Thu, 30 Nov 2017 02:47:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMb8Uq5mKQnNK4WUs4y/oEo0T4yaqFhxQJiS1W7Pd3limi/Bk946F3+tHd8byRYqLUvhEg8t X-Received: by 10.99.47.134 with SMTP id v128mr2033899pgv.232.1512038840490; Thu, 30 Nov 2017 02:47:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038840; cv=none; d=google.com; s=arc-20160816; b=LuMfOguWtrH6MvB9ry6il4ST7oMk4QXjQb6Mj2VGm0fz8A0qGwqSj3TA3A901GS960 3TpdPG+OdlLQ7dlxwvoPtMceaWnZodt8NUjDRNejth5IdeL127btPx1+H75YcjqbU0ZE /ZFVcX/HCS85WHJWkD/YViLx5aDH3i40djRPrHizTlrWrlJseGHmvDlTNV2gKc6sKa1N DpLCb1DXvJQkLKrizqJKf6D/tsSee+99rH8VHH/6fHBgn9bLxqOu2FUw9X1lfHlSUuAK WdieYshgb3C2SoFbJ8BHGiN1mKdG79/7Yc1jXMteH6DFD1IZPc+w4yaAtvuKASdlGRrg rc9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=20frtKWGYhePrDVrOhtXNNFt9IPf4UxW1QdzcPvBGDk=; b=G/n9H129hrA/9Qrvyrv5SBqzM2rwfJcznJqqVX48DzrwjvW4bQ+9Yb/AYCWATwmCW2 Wuvow3K6UOtXNOcqQXXGiMiEik4yiZdhhRnIhVqZMK1fzyPV2hmWcu3B09t8l9mDQ5h8 +UOT+so2q/KxVXWHXKtAPr8LWiMeTeUoxN+rc/YdeVkL1HZyfKF6VhzgaHwceBnD+ISv WSITHgLZq+sot797iBtCp6yxUiwsL7e7BdaVaTEIiDHHFimV6UPoeP9tugHtaHMQBOWk bv/rhXil+nD+flerIn9VLv48mH2bdGeNR8A5b5Vjb+BufekRwcaV86dzf3SPuiBS+ewn hDLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=M9ETajKM; spf=pass (google.com: domain of newlib-return-15443-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15443-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id v5si2827974pgb.228.2017.11.30.02.47.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:47:20 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15443-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=M9ETajKM; spf=pass (google.com: domain of newlib-return-15443-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15443-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=TIiJ9g17cR96wdhIeixQNccniSNtN8n JK9rvs1otVqA8SXpWx9Y8MOPko1ENtw+9d3/x473Vk1ewciy0PVdGoobDTQRQIJp HtU0GvJNNjgA1s1erIQPy7hFfSkEJXD2kTAsufN31BNd9mBIVbYfdmJG7x/THRjh HQB8zu3MFStQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=MC28ixH7JPcRLDaULexPvKFBoNI=; b=M9ETa jKMx0/Z5L46Z35VipIVi4Gd7mWizCNVvuXJdGJ6lLLE1Ih4vi5vdJqu9WxBfu4BA YwWYR5zpd1Ft4frCGBVKUoD4DPmo3qTmsD2j+Hh/taBJoBYCY1l4po0y7u/lNMe8 m4Oxn1C5axa9TRsU/9mHAwscPH1dpZV5AKv22k= Received: (qmail 16985 invoked by alias); 30 Nov 2017 10:47:07 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 16757 invoked by uid 89); 30 Nov 2017 10:47:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=stra X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:46:59 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D490C285A6 for ; Thu, 30 Nov 2017 10:29:15 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A2915C88D for ; Thu, 30 Nov 2017 10:29:15 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 15/24] string: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:49 -0600 Message-Id: <20171130102858.16160-16-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- 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(-) -- 2.15.0 diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c index 8d6e12ffb..86aada10c 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 2881fd92c..22a7f1bfe 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 e99529af6..dc52170c5 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 ec241ffa8..2c4b49016 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 332ed4660..219aa5cfe 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 db0af7cd7..152cd718a 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 4a871fa60..8f86e7afd 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 5f27bca72..c76ab484f 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 25704e467..59e19d245 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 a037c7c2f..e6275a7e1 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 5c6738f22..1a8e7cd34 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 60dee42ed..974cebc16 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 b84e155f7..7d05478eb 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 4b5a4cdeb..c1b360dd3 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 daa1c5237..3284361f8 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 bc58f4771..6272f1da6 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 abd9bbdbf..aa5acd45f 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 df8510b13..a6c34862f 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 f87039d91..587f56ee1 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 8fff00b00..599f50227 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 1e4614991..44b6b03f0 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 e921b5db7..7147bd457 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 afeef434e..3b6cd62fb 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 81d65272e..d5e9148ef 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 a6bb31a4e..551ede65b 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 5032f8439..89a7d0535 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 3dc3c33f6..9670d2c13 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 403330c94..f80b61f37 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 d5f0a3ec9..8da7d5185 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 d26a412a5..af9337563 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 a796d2738..2e8c09f7f 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 3b73dba4b..c47ff4859 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 828f30bf9..c06294232 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 41ae58265..b15c6c545 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 2f5a061bf..761cf87a7 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 9801b7d92..3bbe47bcc 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 ff5d0d409..83596f408 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 ed60e9371..07ece0d8b 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 947355fed..cb5f71914 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 5668db395..4507a86a4 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 4f903afe2..8217c6df3 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 e32c9a7be..86a0e5dd9 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 32b921b10..3f43b8f82 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 0480bce0a..288c74466 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 8d07ab387..a24c538e4 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 350618e78..dbec79e46 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 83f053222..04aa7213a 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 edc1272de..de397210b 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 a1f4fe295..0ac52432c 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 aee076319..ecf5abed9 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 e1d9ad073..f0f9c4a08 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 87843b422..8f7ee796f 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 05f95619d..26c7cc237 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 329be0529..3c58d8f50 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 11afbe3a6..586512d0f 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 fb35d1f42..c705a08d5 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 03089620d..8155742b8 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 726f4ca0b..020f7e57f 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 e71d02a75..2c9df5244 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 ed8b484bc..79f065ca0 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 5ab965690..7be5f5eee 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 90be68e02..e0e97c0bd 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 75c085b5b..2caa58820 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 21c030b38..34352fb9d 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 d671551af..ebef17285 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 c6fc08ef6..a339bbfa5 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 4b360b802..f276635d7 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 b73f6e93e..34a694790 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 1897f5c4e..72c5d1291 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 3d6d70b7d..793e522da 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 9d680d603..77aad65a3 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 fbdf9e49c..55401f1a9 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 495d95a15..b99cb9760 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 e83f42f4f..652d971dd 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 6e891120d..bb6e3eda8 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 144b33efd..091f4bd3e 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 6c0efe63f..4cb8fa812 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 d267d274f..e11516ff4 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 c44b0d639..bfc4ae56b 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 ac5c47f67..acb15d0dc 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 b582b8948..097e47a03 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 af9ee3207..a01bf32f1 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 a57d6a512..0e8d6e494 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 e20a26ae9..18d2a2bfd 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 0af6f91d5..377fbee1f 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 From patchwork Thu Nov 30 10:28:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120109 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486674qgn; Thu, 30 Nov 2017 02:30:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMYoIIt9fLPvoZA7tmUo3ToikV0Dkfj+UtfVy0hl3vaRdKzoU+u+HE93wvfKB1U4HhPuJPuQ X-Received: by 10.84.235.140 with SMTP id p12mr2081034plk.153.1512037820100; Thu, 30 Nov 2017 02:30:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037820; cv=none; d=google.com; s=arc-20160816; b=taVerIa5TU05E8Yop6MIYvz0zFo35JYLefaPh726XFkVFCQTVymHtfN3Gh79IJv3MU YWkbiwfrFDo9n7NcAUHKlvL09WmRTw2lsof46lxtB3bn/io3FwtWoNyFxR3gVpk5KxZd hsGiGxPOfWme/K5WlMnKobgAjvFL3jWBoeXRnZiju5Dj7uNPL/u/mMcGUH86nxo3Tat+ 2jxPmwiB6HBxwl8ttvHUr9G7mOIVQsTu+sebUonNCF91E3KCy3RiNnXDC9bD6arYYf48 Lns0zhVcNBfcjoQzYUY2JjaocjqHCg/fvmGW+IKF9k/CUuDunRXQO0qGfN9CyT2frl68 J+/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=x7t2XyGdDc4keewxyzO3z0U90rRwaG+aYZCh9NvHrWA=; b=QJN3mm76DNPl7eglJ0hUFCr1Kw1JrT9kYkDttBwU1idJdURxiC+0fO1yC+IqimKsml nyYl4RwpFLvMoZvKGUnS6RuvmctlvUMi89vh5W5qLrUZAFQpHQsAaDsiY2wwDogcqvi8 qBmapZn8aong9vEjwLWJIkGHrzDzlg97y0/CgY+ITggCSCjicdTTXBtKwRejuVeMYAhX jMVff5EbhypGa0tabmbaZb3nUlnZE/e0fTL/mOHc4TUcwoaQY5f8Pv5FZpuyLkyDyPx4 QuGIoXKXeDzxc+0EV7rG1bEfdKdVtq+tmWVPoNAKARAth8LlMLrC87onDattXMr93+98 5EDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=dbtA7G5+; spf=pass (google.com: domain of newlib-return-15424-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15424-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 92si2869882pli.692.2017.11.30.02.30.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15424-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=dbtA7G5+; spf=pass (google.com: domain of newlib-return-15424-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15424-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=cE1C/JWIbt/+eql6PPspcENQguS1//5 OuS/LGUm7GSp/XJZzzt+PtugW9hlVN7r90B/EqnQrxRBqzsOH+Yb5re0U2zHgZ5Q mMsItLZqNHSUTsGrIwn3wGrWRsIncmSYKahpk93I8EmZQAmFG9VVhT3Mk3xMhKu0 UnN4bfAso5fw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=sU+D3Hc6a1RDK+2od0uqY+IjTQU=; b=dbtA7 G5+7RxkgJ94fO+vDOwUU8ui8Mwyz4DYLi+nZX/GIyaK0d5DwhdfUxVnXrt/TQs10 eBWGMVwlYzSQuPACu736v7juwZCpcz76NkVHz+RHpLQqfYFn2vHGvxkGNtZn6I2Z bUVwDu8m8VX9spauzRPwJDnCk9XDpILGj2XGk0= Received: (qmail 85030 invoked by alias); 30 Nov 2017 10:29:19 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 85010 invoked by uid 89); 30 Nov 2017 10:29:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2720 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:29:17 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 436867F41D for ; Thu, 30 Nov 2017 10:29:16 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 023254DA0B for ; Thu, 30 Nov 2017 10:29:15 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 16/24] sys: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:50 -0600 Message-Id: <20171130102858.16160-17-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/sys/linux/getdate.c | 11 +---------- newlib/libc/sys/linux/pread64.c | 10 +--------- newlib/libc/sys/linux/pwrite64.c | 10 +--------- newlib/libc/sys/rdos/getenv.c | 7 +------ 4 files changed, 4 insertions(+), 34 deletions(-) -- 2.15.0 diff --git a/newlib/libc/sys/linux/getdate.c b/newlib/libc/sys/linux/getdate.c index 5c056c750..0e689f99a 100644 --- a/newlib/libc/sys/linux/getdate.c +++ b/newlib/libc/sys/linux/getdate.c @@ -27,20 +27,11 @@ INDEX INDEX getdate_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *getdate(const char *<[string]>); int getdate_r(const char *<[string]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *getdate(<[string]>); - const char *<[string]>; - - int getdate_r(<[string]>, <[res]>); - const char *<[string]>; - struct tm *<[res]>; - DESCRIPTION <> reads a file which is specified by the environment variable: DATEMSK. This file contains a number of formats valid for input to the diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c index c4bdca706..3ced04818 100644 --- a/newlib/libc/sys/linux/pread64.c +++ b/newlib/libc/sys/linux/pread64.c @@ -5,18 +5,10 @@ FUNCTION INDEX pread64 -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pread64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pread64(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - loff_t <[off]>; - DESCRIPTION The <> function is similar to <>. The only difference is that it operates on large files and so takes a 64-bit offset. Like <>>, diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c index f1d678493..876749943 100644 --- a/newlib/libc/sys/linux/pwrite64.c +++ b/newlib/libc/sys/linux/pwrite64.c @@ -5,18 +5,10 @@ FUNCTION INDEX pwrite64 -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pwrite64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pwrite64(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - loff_t <[off]>; - DESCRIPTION The <> function is similar to <>. The only difference is that it operates on large files and so takes a 64-bit offset. Like <>>, diff --git a/newlib/libc/sys/rdos/getenv.c b/newlib/libc/sys/rdos/getenv.c index 933ea4d76..1787769e3 100644 --- a/newlib/libc/sys/rdos/getenv.c +++ b/newlib/libc/sys/rdos/getenv.c @@ -32,15 +32,10 @@ INDEX INDEX environ -ANSI_SYNOPSIS +SYNOPSIS #include char *getenv(const char *<[name]>); -TRAD_SYNOPSIS - #include - char *getenv(<[name]>) - char *<[name]>; - DESCRIPTION <> searches the list of environment variable names and values (using the global pointer ``<>'') for a variable whose From patchwork Thu Nov 30 10:28:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120121 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp493313qgn; Thu, 30 Nov 2017 02:37:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMa0FVlt++hoJdRQVzA/PxDwthWQRf3wRAoare6zPhZ6edmuKnyE+d19Qqr56VNtL3fYzrun X-Received: by 10.101.67.6 with SMTP id j6mr1938638pgq.278.1512038249152; Thu, 30 Nov 2017 02:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038249; cv=none; d=google.com; s=arc-20160816; b=0i5/pryY1JWW8roVJU7nXp/aP4XMNe9wcoMyKazr4meBhV2/wwh1CxaS7EblEfe86U Vw/23iG4kxiO/nus7/flxrqGYgi2JjfIARRVQfLtDKTC99/EIz0tzqhDS15FTZYiMQrn 12tBXP4S+iaiegIZhCFok1OQXjjlja7yZkv8TTEU1HOlEcIwD9DWRwjdqEJw00bOOeiN R8UWvzcE7CZ3rv1WfQpxQdQ6HeBT/nThkw1h65mDoNWHpDa6ltf7jzQwe6FqwYxWZr1s XgnpBDA8/+j4pJWbB+x5pLSDVd2G+od4jmOTQLhlMeRoPq0fpLk5hcjYh6IyT84fIBsM hWSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=8z0kr8YXRpGl6fUxxoax1yBeAid94OBn8tqmLFOJs9w=; b=MQmrudTa8pHsq9g7xOZXTWBHlLqYjR8XK6e/0LMFZNUA48cavtOZRWT5gzMhQAXiqf MhRWrEDIcV/BguzHd0gSSOUhqVuZqt85qjeuDq1Y2SBU6732zYsG74geGlE0Ag4xKTlU aan/T5LLabVJ5kWoINX+NU9ehz4KFrZNXFNUhY49UwebKkWE6httK+PQZQlZ1PXkw2RO UDU7pkUfs+V+ZVgjAkjGlj4Fvipp1Nl7P1Yv1q/AmMs7Ln4WTw6BwP8kvZN75Ba6UQUR CdddkOy9VDb412BUqqXyQ8WWWd85FQamN/1E+V0h2XaJnVxQgcFg8ca8hrccMGBBIX+V gsIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=AFqUnFDY; spf=pass (google.com: domain of newlib-return-15436-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15436-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id q61si2900909plb.581.2017.11.30.02.37.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:37:29 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15436-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=AFqUnFDY; spf=pass (google.com: domain of newlib-return-15436-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15436-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=trdSYMJGwtmpXS6IvOuiWnOZ8BRpHYN J/zRGsnRuHmXn94/bj3rLNGNQR7n4Cl5cXolKgrs4eCuAW9bFTj8+efSHi+1WPn2 G18et9nTiDYXGzMMkSBgowtI6YDaEM1WoJuehY0Xk7NnO/lI3rZ4wl34gbuL/xmt pKwWD+oplYrw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=Vvc8lzEFzagRAXhm6DfMiTQOZek=; b=AFqUn FDYPKc+mnKGE/BNNagOLzvedpeU5y12bgcMK0FhJS71hZ7FNZSnd9FDgrd+F35yb Arsxod1XKIswTTpEsKUujGyi7sDsGx8X153KdvQUeSR12vj6IOH1o51iAD9HFcrP C3L7eEWJqI0Xq+4iQFTmJF9iv3KJrHT01/a0NE= Received: (qmail 108772 invoked by alias); 30 Nov 2017 10:37:01 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 108632 invoked by uid 89); 30 Nov 2017 10:37:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=january, January, Universal X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:59 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ACCE4356FF for ; Thu, 30 Nov 2017 10:29:16 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 651804DA0B for ; Thu, 30 Nov 2017 10:29:16 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 17/24] time: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:51 -0600 Message-Id: <20171130102858.16160-18-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/time/asctime.c | 10 +--------- newlib/libc/time/clock.c | 6 +----- newlib/libc/time/ctime.c | 11 +---------- newlib/libc/time/difftime.c | 8 +------- newlib/libc/time/gmtime.c | 10 +--------- newlib/libc/time/lcltime.c | 10 +--------- newlib/libc/time/mktime.c | 7 +------ newlib/libc/time/strftime.c | 10 +--------- newlib/libc/time/time.c | 7 +------ newlib/libc/time/tzlock.c | 6 +----- newlib/libc/time/tzset.c | 8 +------- newlib/libc/time/wcsftime.c | 2 +- 12 files changed, 12 insertions(+), 83 deletions(-) -- 2.15.0 diff --git a/newlib/libc/time/asctime.c b/newlib/libc/time/asctime.c index f56b511b8..b9345f581 100644 --- a/newlib/libc/time/asctime.c +++ b/newlib/libc/time/asctime.c @@ -19,19 +19,11 @@ INDEX INDEX _asctime_r -ANSI_SYNOPSIS +SYNOPSIS #include char *asctime(const struct tm *<[clock]>); char *_asctime_r(const struct tm *<[clock]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - char *asctime(<[clock]>) - struct tm *<[clock]>; - char *asctime_r(<[clock]>) - struct tm *<[clock]>; - char *<[buf]>; - DESCRIPTION Format the time value at <[clock]> into a string of the form . Wed Jun 15 11:38:07 1988\n\0 diff --git a/newlib/libc/time/clock.c b/newlib/libc/time/clock.c index 0bcfbb6d3..53ca208ee 100644 --- a/newlib/libc/time/clock.c +++ b/newlib/libc/time/clock.c @@ -25,14 +25,10 @@ FUNCTION INDEX clock -ANSI_SYNOPSIS +SYNOPSIS #include clock_t clock(void); -TRAD_SYNOPSIS - #include - clock_t clock(); - DESCRIPTION Calculates the best available approximation of the cumulative amount of time used by your program since it started. To convert the result diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c index df070a858..160eb9948 100644 --- a/newlib/libc/time/ctime.c +++ b/newlib/libc/time/ctime.c @@ -12,20 +12,11 @@ INDEX INDEX ctime_r -ANSI_SYNOPSIS +SYNOPSIS #include char *ctime(const time_t *<[clock]>); char *ctime_r(const time_t *<[clock]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - char *ctime(<[clock]>) - time_t *<[clock]>; - - char *ctime_r(<[clock]>, <[buf]>) - time_t *<[clock]>; - char *<[buf]>; - DESCRIPTION Convert the time value at <[clock]> to local time (like <>) and format it into a string of the form diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c index de6ffdb5c..893fa4700 100644 --- a/newlib/libc/time/difftime.c +++ b/newlib/libc/time/difftime.c @@ -10,16 +10,10 @@ FUNCTION INDEX difftime -ANSI_SYNOPSIS +SYNOPSIS #include double difftime(time_t <[tim1]>, time_t <[tim2]>); -TRAD_SYNOPSIS - #include - double difftime(<[tim1]>, <[tim2]>) - time_t <[tim1]>; - time_t <[tim2]>; - DESCRIPTION Subtracts the two times in the arguments: `<<<[tim1]> - <[tim2]>>>'. diff --git a/newlib/libc/time/gmtime.c b/newlib/libc/time/gmtime.c index 141d20327..c62a212f7 100644 --- a/newlib/libc/time/gmtime.c +++ b/newlib/libc/time/gmtime.c @@ -17,19 +17,11 @@ INDEX INDEX gmtime_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *gmtime(const time_t *<[clock]>); struct tm *gmtime_r(const time_t *<[clock]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *gmtime(<[clock]>) - const time_t *<[clock]>; - struct tm *gmtime_r(<[clock]>, <[res]>) - const time_t *<[clock]>; - struct tm *<[res]>; - DESCRIPTION <> takes the time at <[clock]> representing the number of elapsed seconds since 00:00:00 on January 1, 1970, Universal diff --git a/newlib/libc/time/lcltime.c b/newlib/libc/time/lcltime.c index 2c9a25fd7..0129335a5 100644 --- a/newlib/libc/time/lcltime.c +++ b/newlib/libc/time/lcltime.c @@ -11,19 +11,11 @@ INDEX INDEX localtime_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *localtime(time_t *<[clock]>); struct tm *localtime_r(time_t *<[clock]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *localtime(<[clock]>) - time_t *<[clock]>; - struct tm *localtime(<[clock]>, <[res]>) - time_t *<[clock]>; - struct tm *<[res]>; - DESCRIPTION <> converts the time at <[clock]> into local time, then converts its representation from the arithmetic representation to the diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c index 44c0257f7..4849ea407 100644 --- a/newlib/libc/time/mktime.c +++ b/newlib/libc/time/mktime.c @@ -20,15 +20,10 @@ FUNCTION INDEX mktime -ANSI_SYNOPSIS +SYNOPSIS #include time_t mktime(struct tm *<[timp]>); -TRAD_SYNOPSIS - #include - time_t mktime(<[timp]>) - struct tm *<[timp]>; - DESCRIPTION <> assumes the time at <[timp]> is a local time, and converts its representation from the traditional representation defined by diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c index 382318047..cf426d673 100644 --- a/newlib/libc/time/strftime.c +++ b/newlib/libc/time/strftime.c @@ -25,7 +25,7 @@ INDEX INDEX strftime_l -ANSI_SYNOPSIS +SYNOPSIS #include size_t strftime(char *restrict <[s]>, size_t <[maxsize]>, const char *restrict <[format]>, @@ -35,14 +35,6 @@ ANSI_SYNOPSIS const struct tm *restrict <[timp]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - size_t strftime(<[s]>, <[maxsize]>, <[format]>, <[timp]>) - char *<[s]>; - size_t <[maxsize]>; - char *<[format]>; - struct tm *<[timp]>; - DESCRIPTION <> converts a <> representation of the time (at <[timp]>) into a null-terminated string, starting at <[s]> and occupying diff --git a/newlib/libc/time/time.c b/newlib/libc/time/time.c index 9de71d457..e0c3a8e74 100644 --- a/newlib/libc/time/time.c +++ b/newlib/libc/time/time.c @@ -5,15 +5,10 @@ FUNCTION INDEX time -ANSI_SYNOPSIS +SYNOPSIS #include time_t time(time_t *<[t]>); -TRAD_SYNOPSIS - #include - time_t time(<[t]>) - time_t *<[t]>; - DESCRIPTION <