[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.16

1.16    ! kjell       1: /*     $OpenBSD: sysdef.h,v 1.15 2006/08/01 22:16:03 jason 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.                    */
                     18: #define        GOOD            0       /* Good exit status.             */
1.1       deraadt    19:
1.9       mickey     20: typedef int    RSIZE;          /* Type for file/region sizes    */
                     21: typedef short  KCHAR;          /* Type for internal keystrokes  */
1.1       deraadt    22:
1.12      db         23: #define MALLOCROUND(m) (m+=7,m&=~7)    /* round up to 8 byte boundary   */
1.1       deraadt    24:
                     25: struct fileinfo {
1.11      deraadt    26:        uid_t           fi_uid;
                     27:        gid_t           fi_gid;
1.9       mickey     28:        mode_t          fi_mode;
1.16    ! kjell      29:        struct timespec fi_mtime;       /* Last modified time */
1.1       deraadt    30: };