home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / proglc / zoo141_c.lzh / VARIOUS.H < prev    next >
C/C++ Source or Header  |  1987-02-07  |  2KB  |  105 lines

  1. /* various.h */
  2.  
  3. /*
  4. The contents of this file are hereby released to the public domain.
  5.  
  6.                            -- Rahul Dhesi 1986/11/14
  7. */
  8.  
  9. /*
  10. This files gives definitions for most external functions used by Zoo.
  11. If LINT_ARGS is defined, ANSI-style function prototypes are used, else
  12. normal K&R function declarations are used.
  13.  
  14. Note:  Always precede this file with an include of stdio.h because it uses
  15. the predefined type FILE.
  16. */
  17.  
  18. #ifdef LINT_ARGS
  19. FILE *fdopen (int, char *);
  20. FILE *fopen (char *, char *);
  21. char *fgets (char *, int, FILE *);
  22. char *gets (char *);
  23. char *malloc (unsigned int);
  24. char *realloc (char *, unsigned int);
  25. char *strcat (char *, char *);
  26. char *strchr (char *, int);
  27. char *strcpy (char *, char *);
  28. char *strdup (char *);
  29. char *strlwr (char *);
  30. char *strncat (char *, char *, unsigned int);
  31. char *strncpy (char *, char *, unsigned int);
  32. char *strrchr (char *, int);
  33. int trunc (int);
  34. int close (int);
  35. int creat (char *, int);
  36. int fclose (FILE *);
  37. int fflush (FILE *);
  38. int fgetc (FILE *);
  39. int fgetchar ();
  40. int fprintf (FILE *, char *,);
  41. int fputc (int, FILE *);
  42. int fputchar (int);
  43. int fputs (char *, FILE *);
  44. int fread (char *, int, int, FILE *);
  45. int fseek (FILE *, long, int);
  46. int fwrite (char *, int, int, FILE *);
  47. int open (char *, int,);
  48. int printf (char *,);
  49. int read (int, char *, unsigned int);
  50. int rename (char *, char *);
  51. int setmode (int, int);
  52. int strcmp (char *, char *);
  53. int strncmp (char *, char *, unsigned int);
  54. int unlink (char *);
  55. int write (int, char *, unsigned int);
  56. long ftell (FILE *);
  57. long lseek (int, long, int);
  58. long tell (int);
  59. unsigned int strlen (char *);
  60.  
  61. #else
  62.  
  63. FILE *fdopen ();
  64. FILE *fopen ();
  65. char *fgets ();
  66. char *gets ();
  67. char *malloc ();
  68. char *realloc ();
  69. char *strcat ();
  70. char *strchr ();
  71. char *strcpy ();
  72. char *strdup ();
  73. char *strlwr ();
  74. char *strncat ();
  75. char *strncpy ();
  76. char *strrchr ();
  77. int trunc ();
  78. int close ();
  79. int creat ();
  80. int fclose ();
  81. int fflush ();
  82. int fgetc ();
  83. int fgetchar ();
  84. int fprintf ();
  85. int fputc ();
  86. int fputchar ();
  87. int fputs ();
  88. int fread ();
  89. int fseek ();
  90. int fwrite ();
  91. int open ();
  92. int printf ();
  93. int read ();
  94. int rename ();
  95. int setmode ();
  96. int strcmp ();
  97. int strncmp ();
  98. int unlink ();
  99. int write ();
  100. long ftell ();
  101. long lseek ();
  102. long tell ();
  103. unsigned int strlen ();
  104. #endif
  105.