lkml.org 
[lkml]   [1999]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[f]truncate

According to both Digital Unix and Solaris, the correct [XPG4] argument
to [f]truncate is an off_t, and the correct return code is EINVAL if it
is less than zero. The Linux documentation I have all give it as a
size_t but I guess that's just wrong, unless someone wants to directly
quote a standard saying it should be (when Digital Unix and Solaris
agree on the standards, typically that means they're right, or the
standards have changed since the releases I have installed).

(sometime I'll learn to stop looking at Linux manpages...they've led
me astray so many times.)

David.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.052 / U:1.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site