[PATCH v2 1/2] man/man3/errno.3: Document EFTYPE error code
Alejandro Colomar
alx@kernel.org
Sun Apr 26 12:59:12 GMT 2026
[CC += libc-alpha]
Hi Dorjoy,
On 2026-04-26T17:14:25+0600, Dorjoy Chowdhury wrote:
> Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Thanks!
Reviewed-by: Alejandro Colomar <alx@kernel.org>
I will wait until glibc adds this error code to their <errno.h> before
applying the patch. This means either you should write and send a patch
to glibc (if so, please CC me), or you should ask them to add it
themselves (if you're not comfortable writing glibc code).
Have a lovely day!
Alex
> ---
> man/man3/errno.3 | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/man/man3/errno.3 b/man/man3/errno.3
> index a070dabca..ed3578b07 100644
> --- a/man/man3/errno.3
> +++ b/man/man3/errno.3
> @@ -590,6 +590,9 @@ Invalid cross-device link (POSIX.1-2001).
> .TP
> .B EXFULL
> Exchange full.
> +.TP
> +.B EFTYPE
> +Wrong file type for the intended operation.
> .SH NOTES
> A common mistake is to do
> .P
> --
> 2.53.0
>
--
<https://www.alejandro-colomar.es>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260426/59cb8cd4/attachment.sig>
More information about the Libc-alpha
mailing list