12e3f4988SWarner Losh /*
22e3f4988SWarner Losh  * Copyright (c) 2005-2020 Rich Felker, et al.
32e3f4988SWarner Losh  *
42e3f4988SWarner Losh  * SPDX-License-Identifier: MIT
52e3f4988SWarner Losh  *
62e3f4988SWarner Losh  * Note: From the musl project
72e3f4988SWarner Losh  */
82e3f4988SWarner Losh 
92e3f4988SWarner Losh typedef int host_nlink_t;
102e3f4988SWarner Losh 
112e3f4988SWarner Losh struct host_kstat {
122e3f4988SWarner Losh 	host_dev_t st_dev;
132e3f4988SWarner Losh 	host_ino_t st_ino;
142e3f4988SWarner Losh 	host_mode_t st_mode;
152e3f4988SWarner Losh 	host_nlink_t st_nlink;
162e3f4988SWarner Losh 	host_uid_t st_uid;
172e3f4988SWarner Losh 	host_gid_t st_gid;
182e3f4988SWarner Losh 	host_dev_t st_rdev;
192e3f4988SWarner Losh 	unsigned long __pad;
202e3f4988SWarner Losh 	host_off_t st_size;
212e3f4988SWarner Losh 	host_blksize_t st_blksize;
222e3f4988SWarner Losh 	int __pad2;
232e3f4988SWarner Losh 	host_blkcnt_t st_blocks;
242e3f4988SWarner Losh 	long st_atime_sec;
252e3f4988SWarner Losh 	long st_atime_nsec;
262e3f4988SWarner Losh 	long st_mtime_sec;
272e3f4988SWarner Losh 	long st_mtime_nsec;
282e3f4988SWarner Losh 	long st_ctime_sec;
292e3f4988SWarner Losh 	long st_ctime_nsec;
302e3f4988SWarner Losh 	unsigned __pad_for_future[2];
312e3f4988SWarner Losh };
32