From 431cf7be33f3fd2b7984794ffed4405d5fa6bb50 Mon Sep 17 00:00:00 2001 From: Zeno Sebastian Endemann Date: Sun, 12 Apr 2026 16:40:07 +0200 Subject: [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC 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 Message-ID: <20260412144007.27323-1-zeno.endemann@mailbox.org> Signed-off-by: Alejandro Colomar --- man/man2/truncate.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/man2/truncate.2 b/man/man2/truncate.2 index 946d6aaf0..dde7fbc07 100644 --- a/man/man2/truncate.2 +++ b/man/man2/truncate.2 @@ -98,6 +98,11 @@ The argument 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; -- 2.47.3