Linux-man Archive on lore.kernel.org
 help / color / 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, back to index

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

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git