home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 479a.lha / barn_v2.01 / source / standard.h < prev    next >
C/C++ Source or Header  |  1991-02-10  |  535b  |  39 lines

  1. /*
  2.  *  File:            standard.h
  3.  *  Purpose:        Stuff I standardly use.
  4.  *  Functions:
  5.  *  Created:        25 Nov 1988
  6.  *  Last Modified:    19 Oct 1990
  7.  *  Comments:
  8.  *  History:
  9.  *        19 Oct 90/JVE    Added ifdef sun.
  10.  */
  11.  
  12. /*
  13.  *  NULL pointer to some type.
  14.  */
  15.  
  16. # define    NULLP( typ )            ( (typ *) 0 )
  17.  
  18. # undef ERROR
  19. # define    ERROR                ( -1 )
  20. # undef OK
  21. # define    OK                    0
  22.  
  23. # undef TRUE
  24. # define    TRUE                1
  25. # undef FALSE
  26. # define    FALSE                0
  27.  
  28. # define    MAXLINE             255
  29.  
  30. # ifdef sun
  31.  
  32. /*
  33.  *    Delete file.
  34.  */
  35.  
  36. # define    remove( x )            unlink( (x) )
  37.  
  38. # endif 
  39.