From 9dcc46058a7cb4c4ac3de17a5c612331cb375bfc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 4 Dec 2008 13:39:28 -0500 Subject: [PATCH] stat.2: Document EOVERFLOW error Signed-off-by: Michael Kerrisk Reported-by: Andre Majorel --- man2/stat.2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man2/stat.2 b/man2/stat.2 index 0a2be41c0..2221da078 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -319,6 +319,19 @@ Out of memory (i.e., kernel memory). .TP .B ENOTDIR A component of the path is not a directory. +.TP +.B EOVERFLOW +.RB ( stat ()) +.I path +refers to a file whose size cannot be represented in the type +.IR off_t . +This can occur when an application compiled on a 32-bit platform without +.I -D_FILE_OFF_SET_BITS=64 +calls +.BR stat () +on a file whose size exceeds +.I (2<<31)-1 +bits. .SH "CONFORMING TO" These system calls conform to SVr4, 4.3BSD, POSIX.1-2001. .\" SVr4 documents additional