public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Christoph Kalchreuter <christoph@kalchreuter.de>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org
Subject: Re: Typo in stat(2)
Date: Wed, 30 Sep 2020 14:22:31 +0200	[thread overview]
Message-ID: <87pn63tpx4.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <373374d2-851f-67f6-4059-90130aaab344@kalchreuter.de> (Christoph Kalchreuter's message of "Wed, 30 Sep 2020 14:07:36 +0200")

* Christoph Kalchreuter:

> There are three Letters "e" missing in Section "DESCRIPTION",
> Subsection "The stat structure":
>
> struct timespec st_atim;  /* Time of last access */
> struct timespec st_mtim;  /* Time of last modification */
> sruct timespec st_ctim;  /* Time of last status change */
>
> should possibly be:
>
> struct timespec st_atime;  /* Time of last access */
> struct timespec st_mtime;  /* Time of last modification */
> sruct timespec st_ctime;  /* Time of last status change */

This typo is also present in POSIX, so we cannot change it (like the
creat function).

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


  reply	other threads:[~2020-09-30 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 12:07 Typo in stat(2) Christoph Kalchreuter
2020-09-30 12:22 ` Florian Weimer [this message]
2020-09-30 19:38   ` Michael Kerrisk (man-pages)
2020-10-01  6:20     ` Christoph Kalchreuter
2020-10-01  9:22       ` Jakub Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn63tpx4.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=christoph@kalchreuter.de \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox