Fork me on GitHub

root/include/fiwix/statbuf.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * fiwix/include/fiwix/statbuf.h
   3  *
   4  * Copyright 2018, Jordi Sanfeliu. All rights reserved.
   5  * Distributed under the terms of the Fiwix License.
   6  */
   7 
   8 #ifndef _FIWIX_STATBUF_H
   9 #define _FIWIX_STATBUF_H
  10 
  11 struct old_stat {
  12         __dev_t st_dev;
  13         unsigned short int st_ino;
  14         __mode_t st_mode;
  15         __nlink_t st_nlink;
  16         __uid_t st_uid;
  17         __gid_t st_gid;
  18         __dev_t st_rdev;
  19         unsigned int st_size;
  20         __time_t st_atime;
  21         __time_t st_mtime;
  22         __time_t st_ctime;
  23 };
  24 
  25 struct new_stat {
  26         __dev_t st_dev;
  27         unsigned short int __pad1;
  28         __ino_t st_ino;
  29         __mode_t st_mode;
  30         __nlink_t st_nlink;
  31         __uid_t st_uid;
  32         __gid_t st_gid;
  33         __dev_t st_rdev;
  34         unsigned short int __pad2;
  35         __off_t st_size;
  36         __blk_t st_blksize;
  37         __blk_t st_blocks;
  38         __time_t st_atime;
  39         unsigned int __unused1;
  40         __time_t st_mtime;
  41         unsigned int __unused2;
  42         __time_t st_ctime;
  43         unsigned int __unused3;
  44         unsigned int __unused4;
  45         unsigned int __unused5;
  46 };
  47 
  48 #endif /* _FIWIX_STATBUF_H */

/* [previous][next][first][last][top][bottom][index][help] */