OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / fpathconf.3
index 93aa7d4..9bdab67 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
+.\"
 .\" Modified Wed Jul 28 11:12:26 1993 by Rik Faith (faith@cs.unc.edu)
-.TH FPATHCONF 3  1993-04-04 "GNU" "Linux Programmer's Manual"
+.\"
+.\" FIXME Probably all of the following should be documented:
+.\"     _PC_SYNC_IO,
+.\"     _PC_ASYNC_IO,
+.\"     _PC_PRIO_IO,
+.\"     _PC_SOCK_MAXBUF,
+.\"     _PC_FILESIZEBITS,
+.\"     _PC_REC_INCR_XFER_SIZE,
+.\"     _PC_REC_MAX_XFER_SIZE,
+.\"     _PC_REC_MIN_XFER_SIZE,
+.\"     _PC_REC_XFER_ALIGN,
+.\"     _PC_ALLOC_SIZE_MIN,
+.\"     _PC_SYMLINK_MAX,
+.\"     _PC_2_SYMLINKS
+.\"
+.TH FPATHCONF 3  2014-05-28 "GNU" "Linux Programmer's Manual"
 .SH NAME
 fpathconf, pathconf \- get configuration values for files
 .SH SYNOPSIS
@@ -30,7 +47,7 @@ fpathconf, pathconf \- get configuration values for files
 .sp
 .BI "long fpathconf(int " fd ", int " name );
 .br
-.BI "long pathconf(char *" path ", int " name );
+.BI "long pathconf(const char *" path ", int " name );
 .fi
 .SH DESCRIPTION
 .BR fpathconf ()
@@ -140,7 +157,7 @@ returns nonzero if special character processing can be disabled, where
 or
 .I path
 must refer to a terminal.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The limit is returned, if one exists.
 If the system does not have a
 limit for the requested resource, \-1 is returned, and
@@ -149,7 +166,7 @@ is unchanged.
 If there is an error, \-1 is returned, and
 .I errno
 is set to reflect the nature of the error.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
 Files with name lengths longer than the value returned for
@@ -160,8 +177,18 @@ may exist in the given directory.
 .PP
 Some returned values may be huge; they are not suitable for allocating
 memory.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getconf (1),
 .BR open (2),
 .BR statfs (2),
+.BR confstr (3),
 .BR sysconf (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.