Deleted Added
full compact
pathconf.2 (108028) pathconf.2 (108087)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/sys/pathconf.2 108028 2002-12-18 09:22:32Z ru $
33.\" $FreeBSD: head/lib/libc/sys/pathconf.2 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd November 4, 2002
36.Dt PATHCONF 2
37.Os
38.Sh NAME
39.Nm pathconf ,
40.Nm fpathconf
41.Nd get configurable pathname variables

--- 59 unchanged lines hidden (view full) ---

101Return 1 if asynchronous I/O is supported, otherwise 0.
102.It Li _PC_PRIO_IO
103Returns 1 if prioritised I/O is supported for this file,
104otherwise 0.
105.It Li _PC_SYNC_IO
106Returns 1 if synchronised I/O is supported for this file, otherwise 0.
107.It Li _PC_ALLOC_SIZE_MIN
108Minimum number of bytes of storage allocated for any portion of a file.
34.\"
35.Dd November 4, 2002
36.Dt PATHCONF 2
37.Os
38.Sh NAME
39.Nm pathconf ,
40.Nm fpathconf
41.Nd get configurable pathname variables

--- 59 unchanged lines hidden (view full) ---

101Return 1 if asynchronous I/O is supported, otherwise 0.
102.It Li _PC_PRIO_IO
103Returns 1 if prioritised I/O is supported for this file,
104otherwise 0.
105.It Li _PC_SYNC_IO
106Returns 1 if synchronised I/O is supported for this file, otherwise 0.
107.It Li _PC_ALLOC_SIZE_MIN
108Minimum number of bytes of storage allocated for any portion of a file.
109.Fa path .
110.It Li _PC_FILESIZEBITS
111Number of bits needed to represented the maximum file size.
112.It Li _PC_REC_INCR_XFER_SIZE
113Recommended increment for file transfer sizes between
114.Dv _PC_REC_MIN_XFER_SIZE
115and
116.Dv _PC_REC_MAX_XFER_SIZE .
117.It Li _PC_REC_MAX_XFER_SIZE

--- 71 unchanged lines hidden (view full) ---

189.El
190.Pp
191.Bl -tag -width Er
192The
193.Fn fpathconf
194system call
195will fail if:
196.It Bq Er EBADF
109.It Li _PC_FILESIZEBITS
110Number of bits needed to represented the maximum file size.
111.It Li _PC_REC_INCR_XFER_SIZE
112Recommended increment for file transfer sizes between
113.Dv _PC_REC_MIN_XFER_SIZE
114and
115.Dv _PC_REC_MAX_XFER_SIZE .
116.It Li _PC_REC_MAX_XFER_SIZE

--- 71 unchanged lines hidden (view full) ---

188.El
189.Pp
190.Bl -tag -width Er
191The
192.Fn fpathconf
193system call
194will fail if:
195.It Bq Er EBADF
196The
197.Fa fd
197.Fa fd
198argument
198is not a valid open file descriptor.
199.It Bq Er EIO
200An I/O error occurred while reading from or writing to the file system.
201.El
202.Sh SEE ALSO
203.Xr sysctl 3
204.Sh HISTORY
205The
206.Fn pathconf
207and
208.Fn fpathconf
209system calls first appeared in
210.Bx 4.4 .
199is not a valid open file descriptor.
200.It Bq Er EIO
201An I/O error occurred while reading from or writing to the file system.
202.El
203.Sh SEE ALSO
204.Xr sysctl 3
205.Sh HISTORY
206The
207.Fn pathconf
208and
209.Fn fpathconf
210system calls first appeared in
211.Bx 4.4 .