linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Typo in 'stat(2)' manpage
@ 2020-03-08 21:59 Colin Brough
  2020-03-08 22:08 ` G. Branden Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Brough @ 2020-03-08 21:59 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

Reporting an error on 'stat(2)' manpage, present on
http://man7.org/linux/man-pages/man2/stat.2.html, as well as on my
Ubuntu derived distro.

Name of the first of the list of ERRORS is spelled wrong:

  - on manpage listed as 'EACCES' (single S at the end)

  - should be 'EACCESS' (double S on the end)

Attached a screen grab of the offending section.

-- 

Cheers

Colin

----------------------------------------------------------------------
Colin Brough                                   colinbrough73@gmail.com

[-- Attachment #2: Screenshot_2020-03-08_21-55-17.png --]
[-- Type: image/png, Size: 11750 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo in 'stat(2)' manpage
  2020-03-08 21:59 Typo in 'stat(2)' manpage Colin Brough
@ 2020-03-08 22:08 ` G. Branden Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: G. Branden Robinson @ 2020-03-08 22:08 UTC (permalink / raw)
  To: Colin Brough; +Cc: mtk.manpages, linux-man

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

At 2020-03-08T21:59:13+0000, Colin Brough wrote:
> Reporting an error on 'stat(2)' manpage, present on
> http://man7.org/linux/man-pages/man2/stat.2.html, as well as on my
> Ubuntu derived distro.
> 
> Name of the first of the list of ERRORS is spelled wrong:
> 
>  - on manpage listed as 'EACCES' (single S at the end)
> 
>  - should be 'EACCESS' (double S on the end)

This is not an error,  EACCES is not only the correct spelling, but it
is standardized.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/stat.html

Like creat(), it a legacy of the pathological obsesstion with
abbreviation that afflicted early Unix developers.

(This one at least has the excuse that externally-visible symbols were
limited to six characters for compatibility with Fortran linkers.
creat() has no such defense.)

Regards,
Branden

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-08 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 21:59 Typo in 'stat(2)' manpage Colin Brough
2020-03-08 22:08 ` G. Branden Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).