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

Diff for /src/usr.bin/mg/Attic/sysdef.h between version 1.1 and 1.2

version 1.1, 2000/02/25 19:08:51 version 1.2, 2000/02/25 19:13:21
Line 2 
Line 2 
  *              System V system header file   *              System V system header file
  */   */
 #include <stdio.h>  #include <stdio.h>
   #include <unistd.h>
   #include <stdlib.h>
   #include <string.h>
   
 #define KBLOCK  8192                    /* Kill grow.                   */  #define KBLOCK  8192                    /* Kill grow.                   */
 #define GOOD    0                       /* Good exit status.            */  #define GOOD    0                       /* Good exit status.            */
 #define MAXPATH 256                     /* Maximum length of path for chdir */  #define MAXPATH 256                     /* Maximum length of path for chdir */
   
 typedef long    RSIZE;                  /* Type for file/region sizes   */  typedef int     RSIZE;                  /* Type for file/region sizes   */
 typedef short   KCHAR;                  /* Type for internal keystrokes */  typedef short   KCHAR;                  /* Type for internal keystrokes */
   
 /*  /*
Line 23 
Line 26 
 #define MALLOCROUND(m)  (m+=7,m&=~7)    /* round up to 8 byte boundry   */  #define MALLOCROUND(m)  (m+=7,m&=~7)    /* round up to 8 byte boundry   */
   
 #define fncmp           strcmp          /* file name comparison         */  #define fncmp           strcmp          /* file name comparison         */
 #define bcopy(s,d,n)    memcpy(d,s,n)   /* memory-to-memory copy        */  
 #define bzero(s,n)      memset(s,0,n)   /* clear memory */  
 char *getenv();  
 #define gettermtype()   getenv("TERM")  /* determine terminal type      */  #define gettermtype()   getenv("TERM")  /* determine terminal type      */
 char *getcwd();  
 #define getwd(cwd)      getcwd(cwd,NFILEN) /* get current working dir   */  
   
 struct fileinfo {  struct fileinfo {
         unsigned short fi_mode;          unsigned short fi_mode;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2