From patchwork Thu Nov 30 10:28:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120125 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp494850qgn; Thu, 30 Nov 2017 02:39:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMaP8mL/UWCzcD6YbDdZa3lehvp6/LfeWbtvAt0XsF3ZTNuaCu30goipan+tgDnwZr8d26XG X-Received: by 10.98.166.84 with SMTP id t81mr6151998pfe.196.1512038359784; Thu, 30 Nov 2017 02:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038359; cv=none; d=google.com; s=arc-20160816; b=KM9sCYN21lfcLIdntqilLFQ2EnZDEhmEjuEsKWcmZhUtHPcFRhTxg0GoEXNJTDjbjs evksnF/3SZMV07KCOFYA2yTTB4/bcnjHGKqjLaG13pgsOqi3W9Mgc5nC8TuH+bxOKy+l 3nxzdmP2OSL0GZvQZrqphd1TU4LBMkIeGjBfS1rzp1TuBIyiIWRLoWjwgpxbE52pJHTY PdkrAcKaEiSd1bUVh4mM1qLuHB7dJWGvJg2qP5DrvFNxdRXFTotVnMGP75WWycTXEzr4 HRd3RsmWDEZoCQEv1qhLHLQDxvMlNjjftOIQcI0mOBcdpQq6IcBecWr3ImA4h6ky4Yd7 qjSg== 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=im888rbFpqlEgURbJ12hgLVuoqWOpZ6co9TqVIfDwpk=; b=Sr4Hfrd9xspUqVHB5UhoQPZN7Xyc0JCdjirXDubtAqM2WmXy7Qm3/2dk/nSH8gSi/K jaeSngtSW/f2yNiJmD1qxTArias8U8P/wXz5xVSQNHmqarkGmgVbQuagKy8LXng8wETv ogUcREN+XULZHga/c6+XmtR7Eto0ZzSv+OqQE4sQnEq1ZKgo3G3VhX+B3mnHi/0IxVgf MUQT6e60+IE6+AdaAjGuUp0trNze3DL9mjPqBcuzG5O1AVBBScVnlaDVWkdhzxnhjlMP rcAXcuYsoqsI6Ne3X4M7d3RpT7L2/0+FQqH3FxcTpT4+AXh7J/XFkqnfLGLWvI/KzCSp 3qsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=XXAa6p+L; spf=pass (google.com: domain of newlib-return-15440-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15440-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 32si2950774plg.75.2017.11.30.02.39.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:39:19 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15440-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=XXAa6p+L; spf=pass (google.com: domain of newlib-return-15440-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15440-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=Y8TjP1GJvoQCQ1Z5+mxjfUyAgzN1Mkm eeiu688wjueeoQ9ysSLUyaIn786KspeqjFszAjdf0XmCDOqPUprL7+/PsnnT/LAB 6LKTnd/mx4MaEMwZ12T95J1wKLVrlm47oIp3NZCTrdTRwOf0FK5tCzr6VO3DHzIo tWAQKOQ9oqRI= 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=gi57JpkHJIQGZFGMGcTeAsD5o4I=; b=XXAa6 p+Lg/uJH5JV+ItBg1l8IKddwyjPXFXHaj+MsjGYRjWT6mt9tcKLZ9aKCnQw3Kdb1 ZyoyCqjJ2Mw3nIOpx0jtTLaO55UL04zL229EAuWXyKAfHrUklSFBAZD1RR/4ZaAj WxotJzbZ0QWrhU++hR13Jv6oVQYNx0PgR0YebA= Received: (qmail 114162 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 114142 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=-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: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 19EC9820F7 for ; Thu, 30 Nov 2017 10:29:17 +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 CBF4A1750E for ; Thu, 30 Nov 2017 10:29:16 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 18/24] unix: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:52 -0600 Message-Id: <20171130102858.16160-19-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/unix/pread.c | 17 +---------------- newlib/libc/unix/pwrite.c | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) -- 2.15.0 diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c index 770c3fcf0..7d351d9d1 100644 --- a/newlib/libc/unix/pread.c +++ b/newlib/libc/unix/pread.c @@ -8,27 +8,12 @@ INDEX INDEX _pread_r -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pread(int <[fd]>, void *<[buf]>, size_t <[n]>, off_t <[off]>); ssize_t _pread_r(struct _reent *<[rptr]>, int <[fd]>, void *<[buf]>, size_t <[n]>, off_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pread(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - off_t <[off]>; - - ssize_t _pread_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>) - struct _reent *<[rptr]>; - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - off_t <[off]>; - DESCRIPTION The <> function is similar to <>. One difference is that <> has an additional parameter <[off]> which is the offset to diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c index 9f2a89835..dad841243 100644 --- a/newlib/libc/unix/pwrite.c +++ b/newlib/libc/unix/pwrite.c @@ -8,28 +8,13 @@ INDEX INDEX _pwrite_r -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pwrite(int <[fd]>, const void *<[buf]>, size_t <[n]>, off_t <[off]>); ssize_t _pwrite_r(struct _reent *<[rptr]>, int <[fd]>, const void *<[buf]>, size_t <[n]>, off_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pwrite(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - const void *<[buf]>; - size_t <[n]>; - off_t <[off]>; - - ssize_t _pwrite_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>) - struct _reent *<[rptr]>; - int <[fd]>; - const void *<[buf]>; - size_t <[n]>; - off_t <[off]>; - DESCRIPTION The <> function is similar to <>. One difference is that <> has an additional parameter <[off]> which is the offset to