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.14, Wed May 3 22:19:41 2006 UTC (18 years, 1 month ago) by kjell
Do some KNF, clean up some unused junk that has lying around for 40-odd cvs revisions, and fix a few comments to match reality |
/* $OpenBSD: sysdef.h,v 1.14 2006/05/03 22:19:41 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. */ 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; };