From patchwork Tue Jan 30 18:58:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Simmons-Talbott X-Patchwork-Id: 85048 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6AADB3857BA8 for ; Tue, 30 Jan 2024 18:59:19 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 0A99E3858425 for ; Tue, 30 Jan 2024 18:58:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0A99E3858425 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0A99E3858425 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706641135; cv=none; b=qJG2x+bXFHJtIJk0iZlKu/e10wgJOkRzzrDKILWAuUZO1KuGXwyvLYo4avt8oiIvc3QLxAVq1ymCXbYfkZNvr681sLWRtWwEVGKaeHce6N6u4CS9Y3xm/lOkeiXgalNM2Ca27qjEWM3ySd8Yuw5ZhxL3txZoVMqHbne5ogH0HzA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706641135; c=relaxed/simple; bh=sYK6Y/oupvv9t87e9E7WguP79icEZxrZl91UJSOggmo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=o7Z5fEprB0uiWjk/pc7auf4uSmxf9N+9a+2A19RTqPhX84MMfEWt7gPXGJj3G8ZKjTJ2sYV2dbIlvo4M+3hwyfwO9A2Ue2Q3ZZ+4QcOs0WqFo/wmV/4dR6mRqeh/wdb0qIQs7pNVpSrOhhKKL3YS79ZxgbFKPDQbixdbfFYb/9Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706641133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xBP+5+YoOd3dIkHx+MAY2iM2wnW6zq2Bzhg+S3xvBQU=; b=GPrNGihN250PqvniRCixz/Lnajq6JNJWsZtrlVPswcEkvLwCe3AltGBTogFy9ZX7BV4i7W bG4D4orsuwgo21j9G/ivPRTNEgVLaZzBTMLkC/9B9Jioh8fa7pasTJmBhPRz85hNsf/QKu tI03PpyS121cD12pITG+iZUnj2CMSC0= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-264-7UiIPvj_PE-2WFipnCtBYQ-1; Tue, 30 Jan 2024 13:58:52 -0500 X-MC-Unique: 7UiIPvj_PE-2WFipnCtBYQ-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-783dc4137b0so639956085a.0 for ; Tue, 30 Jan 2024 10:58:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706641131; x=1707245931; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xBP+5+YoOd3dIkHx+MAY2iM2wnW6zq2Bzhg+S3xvBQU=; b=w0nBqkykwAREydkRAzwmprD1A7EalaH7n5CFIKmb9Zke77sHjDVWtsBhFHGEULJWMP S2Lv+hBQLXdaNAj8fTiNZD9PfSQHunWxAoGV2JCEpG40iXe9lZrSWz/5kxb3zsw4N7gR Gs05zOaKJKbqYlod2oFLflLUp9N5hck6tuj/4D45nwJXs4Zp6cOmBnVBndiQziUdp30F Xw6uKt/ljnHLhctfiv6iU14AbiG3g4fNEtsLt9Az2Da6gRhceMA1lNAzddXxAbtdiYm5 PMxzb752ZwdpwcspaHVhVGtfq6In/F1qEjhkorRejfdyHms2IuagrsmH19LYcccLDvBq eKPQ== X-Gm-Message-State: AOJu0YzhzMYJ96qXt30o5MhRM/a3A8sljwqJUexF8HbqBbw0ecMlUrbJ 7eosL6y0QGQ/j5L67ONm24o9JjVaLvK8o2LAjk/dkqexc1Fv8eIzepdEhxUBwq5PoO5Eud7KxYq ce35v67dCmGd2jr3QxNkWJeUDbqinbh7UYcLcTnHg428nI0quZo50zUlDiCNu+bnBP1V3DFAMxJ Baa6h9lCrgxeKJxogtW9d+RFychw7MPKSEwzABWnq2qw== X-Received: by 2002:a05:620a:565a:b0:783:ae0c:5e8f with SMTP id vw26-20020a05620a565a00b00783ae0c5e8fmr7519139qkn.71.1706641131629; Tue, 30 Jan 2024 10:58:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7VPlECdE4E6zy+EqCqfb+desUe9mHucbWoRl2CeonEOMDqJ3Pk8MJ0AU/eNMl5e0MZ8L9zA== X-Received: by 2002:a05:620a:565a:b0:783:ae0c:5e8f with SMTP id vw26-20020a05620a565a00b00783ae0c5e8fmr7519127qkn.71.1706641131255; Tue, 30 Jan 2024 10:58:51 -0800 (PST) Received: from oak.. (c-71-206-142-238.hsd1.va.comcast.net. [71.206.142.238]) by smtp.gmail.com with ESMTPSA id po30-20020a05620a385e00b00783e3b030e7sm3222780qkn.33.2024.01.30.10.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:58:50 -0800 (PST) From: Joe Simmons-Talbott To: libc-alpha@sourceware.org Cc: Joe Simmons-Talbott Subject: [PATCH] manual/io: Fix swapped reading and writing phrase. Date: Tue, 30 Jan 2024 13:58:34 -0500 Message-ID: <20240130185848.2084965-1-josimmon@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org --- manual/io.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/io.texi b/manual/io.texi index bd82f76ee8..56c82aabc1 100644 --- a/manual/io.texi +++ b/manual/io.texi @@ -59,7 +59,7 @@ the actual read or write operations, to tell them which file to operate on. Certain functions expect streams, and others are designed to operate on file descriptors. -When you have finished reading to or writing from the file, you can +When you have finished reading from or writing to the file, you can terminate the connection by @dfn{closing} the file. Once you have closed a stream or file descriptor, you cannot do any more input or output operations on it.