home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / bfd / hosts / i386aix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.5 KB  |  64 lines

  1. /* i386 AIX 1.2.x host system */
  2. /* From Minh Tran-Le <TRANLE@INTELLICORP.COM>.  */
  3.  
  4. #include <fcntl.h>
  5. #include <errno.h>
  6. #include <stdio.h>
  7. #include <sys/types.h>
  8. #include <sys/stat.h>
  9. #include <utime.h>
  10. #include <ctype.h>
  11. #include <string.h>
  12. #include <sys/file.h>
  13.  
  14. #ifndef O_ACCMODE
  15. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  16. #endif
  17. #define SEEK_SET 0
  18. #define SEEK_CUR 1
  19.  
  20. #define POSIX_UTIME
  21.  
  22. extern void EXFUN(abort,(void));
  23. extern int  EXFUN(close,(int));
  24. extern void EXFUN(exit,(int));
  25. extern int  EXFUN(fclose,(FILE*));
  26. extern void EXFUN(free,(PTR));
  27. extern int  EXFUN(fseek,(FILE*, long, int));
  28. extern PTR  EXFUN(malloc,(unsigned));
  29. extern void EXFUN(perror,(CONST char *));
  30. extern int  EXFUN(qsort,(void *data,int els, int siz, int func()));
  31. extern PTR  EXFUN(realloc, (PTR, unsigned));
  32.  
  33. extern char *getenv();
  34. extern int chmod();
  35. extern int fstat();
  36. extern int stat();
  37.  
  38. extern char *ctime();
  39. extern int _flsbuf();
  40. extern int fclose();
  41. extern int utimes();
  42. extern int vfprintf();
  43. extern long atol();
  44. extern int fputc();
  45. extern int unlink();
  46.  
  47. /* EXACT TYPES */
  48. typedef char int8e_type;
  49. typedef unsigned char uint8e_type;
  50. typedef short int16e_type;
  51. typedef unsigned short uint16e_type;
  52. typedef int int32e_type;
  53. typedef unsigned int uint32e_type;
  54.  
  55. /* CORRECT SIZE OR GREATER */
  56. typedef char int8_type;
  57. typedef unsigned char uint8_type;
  58. typedef short int16_type;
  59. typedef unsigned short uint16_type;
  60. typedef int int32_type;
  61. typedef unsigned int uint32_type;
  62.  
  63. #include "fopen-same.h"
  64.