Annotation of src/usr.bin/mg/sysdef.h, Revision 1.17
1.17 ! florian 1: /* $OpenBSD: sysdef.h,v 1.16 2008/09/15 16:11:35 kjell 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.10 vincent 8: #include <sys/param.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.1 deraadt 16:
1.12 db 17: #define KBLOCK 8192 /* Kill grow. */
1.1 deraadt 18:
1.9 mickey 19: typedef int RSIZE; /* Type for file/region sizes */
20: typedef short KCHAR; /* Type for internal keystrokes */
1.1 deraadt 21:
22: struct fileinfo {
1.11 deraadt 23: uid_t fi_uid;
24: gid_t fi_gid;
1.9 mickey 25: mode_t fi_mode;
1.16 kjell 26: struct timespec fi_mtime; /* Last modified time */
1.1 deraadt 27: };