1 //! Common types used by most newlib platforms 2 3 s! { 4 pub struct sigset_t { 5 __val: [::c_ulong; 16], 6 } 7 8 pub struct stat { 9 pub st_dev: ::dev_t, 10 pub st_ino: ::ino_t, 11 pub st_mode: ::mode_t, 12 pub st_nlink: ::nlink_t, 13 pub st_uid: ::uid_t, 14 pub st_gid: ::gid_t, 15 pub st_rdev: ::dev_t, 16 pub st_size: ::off_t, 17 pub st_atime: ::time_t, 18 pub st_spare1: ::c_long, 19 pub st_mtime: ::time_t, 20 pub st_spare2: ::c_long, 21 pub st_ctime: ::time_t, 22 pub st_spare3: ::c_long, 23 pub st_blksize: ::blksize_t, 24 pub st_blocks: ::blkcnt_t, 25 pub st_spare4: [::c_long; 2usize], 26 } 27 28 pub struct dirent { 29 pub d_ino: ::ino_t, 30 pub d_type: ::c_uchar, 31 pub d_name: [::c_char; 256usize], 32 } 33 } 34