Re: Typo in 'stat(2)' manpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux