home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / emacs-19.28-src.tgz / tar.out / fsf / emacs / unixlib / src / amiga.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  40 lines

  1. #include <exec/types.h>
  2. #include <dos/dos.h>
  3. #include <proto/dos.h>
  4. #include <proto/exec.h>
  5.  
  6. #include <errno.h>
  7. #include <stddef.h>
  8. #include <stdlib.h>
  9. #include <stdio.h>
  10. #include <sys/types.h>
  11. #include <internal/vars.h>
  12.  
  13. extern struct timeinfo *_odd_timer;
  14. extern ULONG _odd_sig;
  15. extern struct Library *TimerBase;
  16.  
  17. int convert_oserr(int ioerr);
  18. void _seterr(void);
  19. void chkabort(void);
  20.  
  21. #define ERROR do { _seterr(); return -1; } while(0)
  22. #define AMIGA_UID 1
  23. #define AMIGA_GID 0
  24.  
  25. int _make_protection(int mode);
  26. int _make_mode(int protection);
  27.  
  28. void _message(char *format, ...);
  29. /* Display a message which is as visible as possible (either to the console
  30.    or to as a requester).
  31.    Assume very little about library state */
  32.  
  33. void _fail(char *format, ...);
  34. /* Display a message which is as visible as possible (either to the console
  35.    or to as a requester).
  36.    Assume very little about library state.
  37.    Exit with error code RETURN_FAIL after that. */
  38.  
  39. void _sprintf(char *dest, char *format, ...);
  40.