uapi fixes

This commit is contained in:
2026-10-06 00:04:26 +02:00
parent 4dd59ef79a
commit 301b5b6e6c
5 changed files with 67 additions and 6 deletions
+26
View File
@@ -0,0 +1,26 @@
/* SPDX-License-Identifier: Unlicense */
#ifndef __ZINNIA_UAPI_STATVFS_H
#define __ZINNIA_UAPI_STATVFS_H
#include <uapi/types.h>
#define __ST_RDONLY 1
#define __ST_NOSUID 2
#define __ST_MANDLOCK 64
struct __statvfs {
uintptr_t f_bsize;
uintptr_t f_frsize;
__fsblkcnt_t f_blocks;
__fsblkcnt_t f_bfree;
__fsblkcnt_t f_bavail;
__fsfilcnt_t f_files;
__fsfilcnt_t f_ffree;
__fsfilcnt_t f_favail;
uintptr_t f_fsid;
uintptr_t f_flag;
uintptr_t f_namemax;
char f_basetype[80];
};
#endif