home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / g__lib / stddef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-23  |  1.5 KB  |  61 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2. /* 
  3. Copyright (C) 1988 Free Software Foundation
  4.     written by Doug Lea (dl@rocky.oswego.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY.  No author or distributor
  10. accepts responsibility to anyone for the consequences of using it
  11. or for whether it serves any particular purpose or works at all,
  12. unless he says so in writing.  Refer to the GNU CC General Public
  13. License for full details.
  14.  
  15. Everyone is granted permission to copy, modify and redistribute
  16. GNU CC, but only under the conditions described in the
  17. GNU CC General Public License.   A copy of this license is
  18. supposed to have been given to you along with GNU CC so you
  19. can know your rights and responsibilities.  It should be in a
  20. file named COPYING.  Among other things, the copyright notice
  21. and this notice must be preserved on all copies.  
  22. */
  23.  
  24. #ifndef _stddef_h
  25. #pragma once
  26.  
  27. #define _stddef_h
  28.  
  29. #ifndef TRUE                    // disable if already done #define TRUE 1...
  30. #ifndef bool
  31. enum bool   
  32. {           
  33.   FALSE = 0,
  34.   TRUE  = 1              
  35. };
  36. #endif
  37. #endif
  38.  
  39. #ifndef L_ctermid
  40. #define L_ctermid    9 
  41. #endif
  42. #ifndef L_cuserid
  43. #define L_cuserid    9
  44. #endif
  45. #ifndef P_tmpdir
  46. #define    P_tmpdir    "/tmp/"
  47. #endif
  48. #ifndef L_tmpnam
  49. #define    L_tmpnam    (sizeof(P_tmpdir) + 15)
  50. #endif
  51.  
  52.  
  53. #ifndef NULL
  54. #define NULL 0
  55. #endif
  56.  
  57. typedef void (*one_arg_error_handler_t)(const char*);
  58. typedef void (*two_arg_error_handler_t)(const char*, const char*);
  59.  
  60. #endif
  61.