~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/stat.2

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2008-12-13 15:28:58 UTC
  • mfrom: (1.1.37 upstream) (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20081213152858-06ey2s94bhc09owg
* New upstream source
* Avoid distribution of more up-to-date pthread manpages that are
  currently also provided by glibc-doc:
  . pthread_cleanup_push_defer_np(3)
  . pthread_cleanup_pop_restore_np(3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
.\" 2007-06-08 mtk: Added example program
38
38
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
39
39
.\"
40
 
.TH STAT 2 2008-09-10 "Linux" "Linux Programmer's Manual"
 
40
.TH STAT 2 2008-12-01 "Linux" "Linux Programmer's Manual"
41
41
.SH NAME
42
42
stat, fstat, lstat \- get file status
43
43
.SH SYNOPSIS
119
119
The
120
120
.I st_dev
121
121
field describes the device on which this file resides.
 
122
(The
 
123
.BR major (3)
 
124
and
 
125
.BR minor (3)
 
126
macros may be useful to decompose the device ID in this field.)
122
127
 
123
128
The
124
129
.I st_rdev
314
319
.TP
315
320
.B ENOTDIR
316
321
A component of the path is not a directory.
 
322
.TP
 
323
.B EOVERFLOW
 
324
.RB ( stat ())
 
325
.I path
 
326
refers to a file whose size cannot be represented in the type   
 
327
.IR off_t .
 
328
This can occur when an application compiled on a 32-bit platform without
 
329
.I -D_FILE_OFFSET_BITS=64
 
330
calls
 
331
.BR stat ()
 
332
on a file whose size exceeds
 
333
.I (2<<31)-1
 
334
bits.
317
335
.SH "CONFORMING TO"
318
336
These system calls conform to SVr4, 4.3BSD, POSIX.1-2001.
319
337
.\" SVr4 documents additional
574
592
.BR capabilities (7),
575
593
.BR symlink (7)
576
594
.SH COLOPHON
577
 
This page is part of release 3.14 of the Linux
 
595
This page is part of release 3.15 of the Linux
578
596
.I man-pages
579
597
project.
580
598
A description of the project,