Date: Mon, 26 Oct 2020 20:21:18 -0300 From: Érico Rolim <erico.erc@...il.com> To: mtk.manpages@...il.com Cc: linux-man@...r.kernel.org, musl@...ts.openwall.com, ericonr@...root.org Subject: Re: [PATCH v3] posix_fallocate.3: add EOPNOTSUPP error code. As can be seen in https://git.musl-libc.org/cgit/musl/tree/src/fcntl/posix_fallocate.c?id=73cc775bee53300c7cf759f37580220b18ac13d3 musl libc returns the syscall's errors directly, which means it doesn't perform the same emulation as glibc, and can return EOPNOTSUPP to an application, which isnt't listed in ERRORS. --- Made a small correction to the formatting for fd. man3/posix_fallocate.3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man3/posix_fallocate.3 b/man3/posix_fallocate.3 index 3152dd54f..8ea37261a 100644 --- a/man3/posix_fallocate.3 +++ b/man3/posix_fallocate.3 @@ -98,6 +98,13 @@ There is not enough space left on the device containing the file referred to by .IR fd . .TP +.B EOPNOTSUPP +The filesystem containing the file referred to by +.I fd +does not support this operation. +This error code can be returned by libc's that don't perform the +emulation shown in NOTES, such as musl libc. +.TP .B ESPIPE .I fd refers to a pipe. -- 2.29.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.