All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jumps Are Op" <jumpsareop@gmail.com>
To: "Alejandro Colomar" <alx@kernel.org>
Cc: <linux-man@vger.kernel.org>
Subject: No mention of XSI in unistd.h.0p
Date: Thu, 13 Jun 2024 10:22:30 +0300	[thread overview]
Message-ID: <D1YPIU3QWBL7.3VGQ7D2ZI5ADF@gmail.com> (raw)

Hi everyone.

I noticed that `<unistd.h>` doesn't define `sync`, `crypt`, and some other
functions. Looked into the man page `unistd.h.0p` and sees nothing about
XSI in the function declarations.

Looked at the website, you can see the clear XSI refrences here^[1].

Needed to define `_XOPEN_SOURCE` to make them work.

This information should be avaliable to the man-page reader.
But it was not included by the automatic manual generation.

The XSI requirement information was in the format (raw HTML):

<sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup>
<img src="../images/opt-start.gif" alt="[Option Start]" border="0">
...functions that needs XSI extenion support goes here...
<img src="../images/opt-end.gif" alt="[Option End]" border="0">

Note that this can include more than one function at a time.

The guys at IEEE suck designing anything.

- [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html#tag_13_77_03_06

             reply	other threads:[~2024-06-13  7:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13  7:22 Jumps Are Op [this message]
2024-06-13  9:07 ` No mention of XSI in unistd.h.0p Alejandro Colomar

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=D1YPIU3QWBL7.3VGQ7D2ZI5ADF@gmail.com \
    --to=jumpsareop@gmail.com \
    --cc=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.