diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-10-26 20:21:18 -0300 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-10-27 14:51:44 +0100 |
commit | d5ee3a149eee02fb7a6c6785409ee0811c0cf055 (patch) | |
tree | 9376a0bd8750b112066d4c81e4066a5b36b1a2ce | |
parent | 631337cee30cb6388bedd58f000e07c41b983349 (diff) | |
download | man-pages-d5ee3a149eee02fb7a6c6785409ee0811c0cf055.tar.gz |
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 isn't listed in ERRORS.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/posix_fallocate.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man3/posix_fallocate.3 b/man3/posix_fallocate.3 index 3152dd54f6..8ea37261a2 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. |