home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c161 / 1.ddi / H / P4MISC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-19  |  1.3 KB  |  85 lines

  1.  
  2. /* p4misc.h (c)Copyright Sequiter Software Inc., 1987-1990.  All rights reserved.
  3.  
  4.    Declarations for non-standard C runtime library functions.
  5. */
  6.  
  7. /* Default locking is 'DO_LOCKING' (call to 'locking' rather than 'lock')
  8.    which is MSC. */
  9.  
  10. #ifndef TURBO
  11. #ifndef MSC
  12. #define MSC
  13. #endif
  14. #endif
  15.  
  16. #ifdef GERMAN
  17. #define LANGUAGE
  18. #endif
  19.  
  20. #ifdef LANGUAGE
  21. #define NO_SIZE_T
  22. #endif
  23.  
  24. #ifdef TURBO
  25. #define DO_LOCK
  26. #endif
  27.  
  28. #ifdef NO_TEST
  29. #define NO_SIZE_T
  30. #define NO_CHSIZE
  31. #define NO_LOCK
  32. #define NO_MEMMOVE
  33. #define NO_POW
  34. #define NO_SPAWNL
  35. #define NO_FILELENGTH
  36. #define NO_REMOVE
  37. #define NO_RENAME
  38. #define NO_STRLWR
  39. #define NO_STRUPR
  40. #define NO_STRNICMP
  41. #define LANGUAGE
  42. #define PORTABLE
  43. #endif
  44.  
  45. #ifndef NO_LOCK
  46. #define DO_LOCKING
  47. #endif
  48.  
  49. #ifdef NO_SIZE_T
  50. typedef unsigned   size_t ;
  51. #endif
  52.  
  53. #ifdef DO_CHSIZE
  54. int  chsize( int, long ) ;
  55. #endif
  56.  
  57. #ifdef NO_FILELENGTH
  58. long  filelength(int) ;
  59. #endif
  60.  
  61. #ifdef NO_MEMMOVE
  62. void *memmove( void *, void *, size_t ) ;
  63. #endif
  64.  
  65. #ifdef NO_REMOVE
  66. int remove( char * ) ;
  67. #endif
  68.  
  69. #ifdef NO_STRNICMP
  70. int  strnicmp( char *, char *, size_t ) ;
  71. #endif
  72.  
  73. #ifdef NO_STRUPR
  74. char *strlwr( char * ) ;
  75. #endif
  76.  
  77. #ifdef NO_STRUPR
  78. char *strupr( char * ) ;
  79. #endif
  80.  
  81. #ifdef LANGUAGE
  82. extern int v4map[256] ;
  83. int u4memcmp( unsigned char *, unsigned char *, size_t ) ;
  84. #endif
  85.