Annotation of src/usr.bin/mg/sysdef.h, Revision 1.19
1.19 ! guenther 1: /* $OpenBSD: sysdef.h,v 1.18 2014/11/16 01:01:28 guenther Exp $ */
1.13 kjell 2:
3: /* This file is in the public domain. */
1.7 niklas 4:
1.1 deraadt 5: /*
1.3 millert 6: * POSIX system header file
1.1 deraadt 7: */
1.19 ! guenther 8: #include <sys/types.h>
1.15 jason 9: #include <sys/queue.h>
1.1 deraadt 10: #include <stdio.h>
1.2 deraadt 11: #include <unistd.h>
12: #include <stdlib.h>
13: #include <string.h>
1.10 vincent 14: #include <errno.h>
1.15 jason 15: #include <signal.h>
1.18 guenther 16: #include <time.h> /* for struct timespec */
1.1 deraadt 17:
1.12 db 18: #define KBLOCK 8192 /* Kill grow. */
1.1 deraadt 19:
1.9 mickey 20: typedef int RSIZE; /* Type for file/region sizes */
21: typedef short KCHAR; /* Type for internal keystrokes */
1.1 deraadt 22:
23: struct fileinfo {
1.11 deraadt 24: uid_t fi_uid;
25: gid_t fi_gid;
1.9 mickey 26: mode_t fi_mode;
1.16 kjell 27: struct timespec fi_mtime; /* Last modified time */
1.1 deraadt 28: };