X-Git-Url: https://pd.if.org/git/?p=pd_readline;a=blobdiff_plain;f=mg%2Fsysdef.h;fp=mg%2Fsysdef.h;h=6b7561442b335f809962f19ac8e210856d8aa500;hp=0000000000000000000000000000000000000000;hb=a9843085ec916c175bd245a8398f30e6cc03f984;hpb=26fe4e09c6c3c250334fdeed60ce3061febecde2 diff --git a/mg/sysdef.h b/mg/sysdef.h new file mode 100644 index 0000000..6b75614 --- /dev/null +++ b/mg/sysdef.h @@ -0,0 +1,30 @@ +/* $OpenBSD: sysdef.h,v 1.16 2008/09/15 16:11:35 kjell Exp $ */ + +/* This file is in the public domain. */ + +/* + * POSIX system header file + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#define KBLOCK 8192 /* Kill grow. */ +#define GOOD 0 /* Good exit status. */ + +typedef int RSIZE; /* Type for file/region sizes */ +typedef short KCHAR; /* Type for internal keystrokes */ + +#define MALLOCROUND(m) (m+=7,m&=~7) /* round up to 8 byte boundary */ + +struct fileinfo { + uid_t fi_uid; + gid_t fi_gid; + mode_t fi_mode; + struct timespec fi_mtime; /* Last modified time */ +};