Return to sysdef.h CVS log | Up to [local] / src / usr.bin / mg |
File: [local] / src / usr.bin / mg / Attic / sysdef.h (download)
Revision 1.13, Tue Jun 14 18:14:40 2005 UTC (18 years, 11 months ago) by kjell
Add explicit public domain notices to all public domain files. ok millert@, deraadt@ |
/* $OpenBSD: sysdef.h,v 1.13 2005/06/14 18:14:40 kjell Exp $ */ /* This file is in the public domain. */ /* * POSIX system header file */ #include <sys/param.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <errno.h> #define KBLOCK 8192 /* Kill grow. */ #define GOOD 0 /* Good exit status. */ #define SYMBLINK 1 /* Handle symbolic links. */ 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; };