1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2012-03-04 16:48:24 +01:00
parent db7781c54a
commit ac7e55ffbd
5 changed files with 8 additions and 0 deletions

4
libmaxsi/decl/dev_t.h Normal file
View file

@ -0,0 +1,4 @@
#ifndef _DEV_T_DECL
#define _DEV_T_DECL
typedef __dev_t dev_t;
#endif

View file

@ -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)

View file

@ -32,6 +32,7 @@ __BEGIN_DECLS
struct stat
{
dev_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;

View file

@ -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

View file

@ -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