Deleted Added
full compact
stat.2 (22993) stat.2 (23660)
1.\" Copyright (c) 1980, 1991, 1993, 1994
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.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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.\"
1.\" Copyright (c) 1980, 1991, 1993, 1994
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.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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.\" @(#)stat.2 8.3 (Berkeley) 4/19/94
33.\" $Id$
32.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
33.\" $Id: stat.2,v 1.11 1997/02/22 15:04:29 peter Exp $
34.\"
34.\"
35.Dd April 19, 1994
35.Dd May 1, 1995
36.Dt STAT 2
37.Os BSD 4
38.Sh NAME
39.Nm stat ,
40.Nm lstat ,
41.Nm fstat
42.Nd get file status
43.Sh SYNOPSIS

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

254.Fa fd
255is not a valid open file descriptor.
256.It Bq Er EFAULT
257.Fa Sb
258points to an invalid address.
259.It Bq Er EIO
260An I/O error occurred while reading from or writing to the file system.
261.El
36.Dt STAT 2
37.Os BSD 4
38.Sh NAME
39.Nm stat ,
40.Nm lstat ,
41.Nm fstat
42.Nd get file status
43.Sh SYNOPSIS

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

254.Fa fd
255is not a valid open file descriptor.
256.It Bq Er EFAULT
257.Fa Sb
258points to an invalid address.
259.It Bq Er EIO
260An I/O error occurred while reading from or writing to the file system.
261.El
262.Sh CAVEAT
263The fields in the stat structure currently marked
264.Fa st_spare1 ,
265.Fa st_spare2 ,
266and
267.Fa st_spare3
268are present in preparation for inode time stamps expanding
269to 64 bits. This, however, can break certain programs that
270depend on the time stamps being contiguous (in calls to
271.Xr utimes 2 ) .
272.Sh SEE ALSO
273.Xr chmod 2 ,
274.Xr chown 2 ,
275.Xr utimes 2 ,
276.Xr symlink 7
277.Sh BUGS
278Applying
279.Fn fstat

--- 22 unchanged lines hidden ---
262.Sh SEE ALSO
263.Xr chmod 2 ,
264.Xr chown 2 ,
265.Xr utimes 2 ,
266.Xr symlink 7
267.Sh BUGS
268Applying
269.Fn fstat

--- 22 unchanged lines hidden ---