open.2: Explicitly describe the EBADF error that can occur with openat()
commit73434f4003c47b5097b195a26a8dbc0d4450a78c
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Aug 2021 01:11:13 +0000 (12 03:11 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Aug 2021 03:45:21 +0000 (12 05:45 +0200)
tree465d1bcc7dcb291be1171c839c56e1d5379d5d6a
parenta9db6c1ba3817c79f3f9f74976ffe17f8b2df1c2
open.2: Explicitly describe the EBADF error that can occur with openat()

In particular, specifying an invalid file descriptor number
in 'dirfd' can be used as a check that 'pathname' is absolute.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/open.2