kernel-stat.h (1561B)
1 /* -*-comment-start: "//";comment-end:""-*- 2 * GNU Mes --- Maxwell Equations of Software 3 * Copyright © 2021 W. J. van der Laan <laanwj@protonmail.com> 4 * Copyright © 2024 Ekaitz Zarraga <ekaitz@elenq.tech> 5 * 6 * This file is part of GNU Mes. 7 * 8 * GNU Mes is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 3 of the License, or (at 11 * your option) any later version. 12 * 13 * GNU Mes is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with GNU Mes. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 #ifndef __MES_LINUX_RISCV64_KERNEL_STAT_H 22 #define __MES_LINUX_RISCV64_KERNEL_STAT_H 1 23 24 // *INDENT-OFF* 25 struct stat 26 { 27 unsigned long st_dev; 28 unsigned long st_ino; 29 unsigned int st_mode; 30 unsigned int st_nlink; 31 unsigned int st_uid; 32 unsigned int st_gid; 33 unsigned long st_rdev; 34 unsigned long __pad; 35 long st_size; 36 int st_blksize; 37 int __pad2; 38 unsigned long st_blocks; 39 time_t st_atime; 40 unsigned long st_atime_usec; 41 time_t st_mtime; 42 unsigned long st_mtime_usec; 43 time_t st_ctime; 44 unsigned long st_ctime_usec; 45 unsigned long __foo0; 46 }; 47 48 #endif // __MES_LINUX_RISCV64_KERNEL_STAT_H