[BACK]Return to sysdef.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Annotation of src/usr.bin/mg/sysdef.h, Revision 1.11

1.11    ! deraadt     1: /*     $OpenBSD: sysdef.h,v 1.10 2002/02/14 22:54:35 vincent Exp $     */
1.7       niklas      2:
1.1       deraadt     3: /*
1.3       millert     4:  *             POSIX system header file
1.1       deraadt     5:  */
1.10      vincent     6: #include <sys/param.h>
1.1       deraadt     7: #include <stdio.h>
1.2       deraadt     8: #include <unistd.h>
                      9: #include <stdlib.h>
                     10: #include <string.h>
1.10      vincent    11: #include <errno.h>
1.1       deraadt    12:
1.6       millert    13: #define        KBLOCK  8192            /* Kill grow.                    */
                     14: #define        GOOD    0               /* Good exit status.             */
                     15: #define SYMBLINK       1       /* Handle symbolic links         */
1.1       deraadt    16:
1.9       mickey     17: typedef int    RSIZE;          /* Type for file/region sizes    */
                     18: typedef short  KCHAR;          /* Type for internal keystrokes  */
1.1       deraadt    19:
1.6       millert    20: #define MALLOCROUND(m) (m+=7,m&=~7)    /* round up to 8 byte boundry    */
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.1       deraadt    26: };