]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/fpathconf.3
Many pages: Fix style issues reported by `make lint-groff`
[thirdparty/man-pages.git] / man3 / fpathconf.3
index 519177404843d38c779f8a1d40c1d40f18184619..593c9e9d0be49900b85c2ab49360b88fc71e7aaa 100644 (file)
@@ -1,26 +1,7 @@
 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
+.\" and Copyright (C) 2017 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
-.\" %%%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.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date.  The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.  The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\"
-.\" Formatted or processed versions of this manual, if unaccompanied by
-.\" the source, must acknowledge the copyright and authors of this work.
-.\" %%%LICENSE_END
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\" Modified Wed Jul 28 11:12:26 1993 by Rik Faith (faith@cs.unc.edu)
 .\"
 .\"     _PC_SYMLINK_MAX,
 .\"     _PC_2_SYMLINKS
 .\"
-.TH FPATHCONF 3  2015-08-08 "GNU" "Linux Programmer's Manual"
+.TH FPATHCONF 3  2021-03-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
 fpathconf, pathconf \- get configuration values for files
+.SH LIBRARY
+Standard C library
+.RI ( libc ", " \-lc )
 .SH SYNOPSIS
 .nf
 .B #include <unistd.h>
-.sp
+.PP
 .BI "long fpathconf(int " fd ", int " name );
-.br
 .BI "long pathconf(const char *" path ", int " name );
 .fi
 .SH DESCRIPTION
@@ -108,7 +91,7 @@ The corresponding macro is
 The maximum length of a filename in the directory
 .I path
 or
-.IR fd
+.I fd
 that the process is allowed to create.
 The corresponding macro is
 .BR _POSIX_NAME_MAX .
@@ -176,7 +159,7 @@ The return value of these functions is one of the following:
 .IP * 3
 On error, \-1 is returned and
 .I errno
-is set to indicate the cause of the error
+is set to indicate the error
 (for example,
 .BR EINVAL ,
 indicating that
@@ -256,9 +239,11 @@ is not in fact a directory.
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).
+.ad l
+.nh
 .TS
 allbox;
-lbw23 lb lb
+lbx lb lb
 l l l.
 Interface      Attribute       Value
 T{
@@ -266,6 +251,9 @@ T{
 .BR pathconf ()
 T}     Thread safety   MT-Safe
 .TE
+.hy
+.ad
+.sp 1
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
 .SH NOTES