]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/truncate.2: ERRORS: Add ENOSPC master
authorZeno Sebastian Endemann <zeno.endemann@mailbox.org>
Sun, 12 Apr 2026 14:40:07 +0000 (16:40 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 12 Apr 2026 14:51:02 +0000 (16:51 +0200)
This error can be observed for example on a vfat file system that
does not support extending a file without allocating the space.

Signed-off-by: Zeno Sebastian Endemann <zeno.endemann@mailbox.org>
Message-ID: <20260412144007.27323-1-zeno.endemann@mailbox.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/truncate.2

index 946d6aaf0e2d21a39c1de364c28bb09bf4b181c2..dde7fbc07be848696c14edf02c2d7da602c6571d 100644 (file)
@@ -98,6 +98,11 @@ The argument
 is larger than the maximum file size.
 (XSI)
 .TP
 is larger than the maximum file size.
 (XSI)
 .TP
+.B ENOSPC
+There is not enough space left on the device for extending the
+file size to the given
+.IR length .
+.TP
 .B EINTR
 While blocked waiting to complete,
 the call was interrupted by a signal handler;
 .B EINTR
 While blocked waiting to complete,
 the call was interrupted by a signal handler;