OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / truncate.2
index bc36566..eb3c1cd 100644 (file)
@@ -40,7 +40,7 @@
 .\" Modified 2002-04-06 by Andries Brouwer <aeb@cwi.nl>
 .\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
-.TH TRUNCATE 2 2013-04-01 "Linux" "Linux Programmer's Manual"
+.TH TRUNCATE 2 2015-01-22 "Linux" "Linux Programmer's Manual"
 .SH NAME
 truncate, ftruncate \- truncate a file to a specified length
 .SH SYNOPSIS
@@ -123,7 +123,8 @@ or the named file is not writable by the user.
 .BR path_resolution (7).)
 .TP
 .B EFAULT
-.I Path
+The argument
+.I path
 points outside the process's allocated address space.
 .TP
 .B EFBIG
@@ -168,6 +169,10 @@ A component of the path prefix is not a directory.
 The underlying filesystem does not support extending
 a file beyond its current size.
 .TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
 .B EROFS
 The named file resides on a read-only filesystem.
 .TP
@@ -258,7 +263,7 @@ This has been fixed in later glibc versions.
 .BR stat (2),
 .BR path_resolution (7)
 .SH COLOPHON
-This page is part of release 3.68 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,