[Bug 277037] Typographical errors and grammar clarification in fclose(3) with a patch

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Feb 2024 04:20:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277037

Maxim Konovalov <maxim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim@FreeBSD.org

--- Comment #1 from Maxim Konovalov <maxim@FreeBSD.org> ---
Created attachment 248452
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248452&action=edit
fdclose man page diff

Hi,

After reading libc/stdio/fclose.c I tend to think that the whole sentence
should be just removed.  I.e., it should look like the following:

The fdclose() function is equivalent to fclose() except that it does not
close the underlying file descriptor.

If fdp is not NULL, the file descriptor will be written to it.

If the stream does not have an associated file descriptor, fdp will be set to
-1. 

%%%

I enclosed the patch for completeness.

Maxim

-- 
You are receiving this mail because:
You are on the CC list for the bug.