Ignore:
Timestamp:
Jun 23, 2005, 8:00:41 AM (20 years ago)
Author:
bird
Message:

Updated sys/stat.h, sys/resource.h and sys/_types.h to FreeBSD 5.3 level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/stat.h

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r2059 r2060  
    1616 *    notice, this list of conditions and the following disclaimer in the
    1717 *    documentation and/or other materials provided with the distribution.
    18  * 3. All advertising materials mentioning features or use of this software
    19  *    must display the following acknowledgement:
    20  *      This product includes software developed by the University of
    21  *      California, Berkeley and its contributors.
    2218 * 4. Neither the name of the University nor the names of its contributors
    2319 *    may be used to endorse or promote products derived from this software
     
    3733 *
    3834 *      @(#)stat.h      8.12 (Berkeley) 6/16/95
    39  * $FreeBSD: src/sys/sys/stat.h,v 1.37 2003/05/22 17:07:57 mike Exp $
     35 * $FreeBSD: src/sys/sys/stat.h,v 1.40 2004/06/17 17:16:52 phk Exp $
    4036 */
    4137
    4238/** @file
    43  * FreeBSD 5.1
     39 * FreeBSD 5.3
    4440 * @changed     bird: EMX isms and hid the BSD specific structs and related stuff.
    4541 * @changed     bird: No UF_ and SF_ because we ain't got any st_flags.
     
    140136
    141137struct stat {
    142         __udev_t  st_dev;               /* inode's device */
     138        __dev_t   st_dev;               /* inode's device */
    143139        ino_t     st_ino;               /* inode's number */
    144140        mode_t    st_mode;              /* inode protection mode */
     
    146142        uid_t     st_uid;               /* user ID of the file's owner */
    147143        gid_t     st_gid;               /* group ID of the file's group */
    148         __udev_t  st_rdev;              /* device type */
     144        __dev_t   st_rdev;              /* device type */
    149145#if 1 /* bird: emx */
    150146        time_t    st_atime;
     
    199195#if __BSD_VISIBLE
    200196struct nstat {
    201         __udev_t st_dev;                /* inode's device */
     197        __dev_t  st_dev;               /* inode's device */
    202198        ino_t     st_ino;               /* inode's number */
    203199        __uint32_t st_mode;             /* inode protection mode */
     
    205201        uid_t     st_uid;               /* user ID of the file's owner */
    206202        gid_t     st_gid;               /* group ID of the file's group */
    207         __udev_t st_rdev;               /* device type */
     203        __dev_t  st_rdev;              /* device type */
    208204        struct  timespec st_atimespec;  /* time of last access */
    209205        struct  timespec st_mtimespec;  /* time of last data modification */
     
    370366
    371367#endif /* !_SYS_STAT_H_ */
    372 
Note: See TracChangeset for help on using the changeset viewer.