mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added st_dev to struct stat.
This commit is contained in:
parent
db7781c54a
commit
ac7e55ffbd
5 changed files with 8 additions and 0 deletions
4
libmaxsi/decl/dev_t.h
Normal file
4
libmaxsi/decl/dev_t.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef _DEV_T_DECL
|
||||
#define _DEV_T_DECL
|
||||
typedef __dev_t dev_t;
|
||||
#endif
|
|
@ -32,6 +32,7 @@
|
|||
__BEGIN_DECLS
|
||||
@include(blkcnt_t.h)
|
||||
@include(blksize_t.h)
|
||||
@include(dev_t.h)
|
||||
@include(ino_t.h)
|
||||
@include(mode_t.h)
|
||||
@include(nlink_t.h)
|
||||
|
|
|
@ -32,6 +32,7 @@ __BEGIN_DECLS
|
|||
|
||||
struct stat
|
||||
{
|
||||
dev_t st_dev;
|
||||
ino_t st_ino;
|
||||
mode_t st_mode;
|
||||
nlink_t st_nlink;
|
||||
|
|
|
@ -129,6 +129,7 @@ typedef __off_t __blksize_t;
|
|||
typedef __off_t __blkcnt_t;
|
||||
typedef unsigned int __nlink_t;
|
||||
typedef __uintmax_t __ino_t;
|
||||
typedef __uintptr_t __dev_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ typedef __off_t __blksize_t;
|
|||
typedef __off_t __blkcnt_t;
|
||||
typedef unsigned int __nlink_t;
|
||||
typedef __uintmax_t __ino_t;
|
||||
typedef __uintptr_t __dev_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue