home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / oslib / oslib_1 / OSLib / Computer / h / pipefs < prev    next >
Encoding:
Text File  |  1995-06-22  |  1.2 KB  |  55 lines

  1. #ifndef pipefs_H
  2. #define pipefs_H
  3.  
  4. /* C header file for PipeFS
  5.  * written by DefMod (Jun 20 1995) on Thu Jun 22 12:11:40 1995
  6.  * Jonathan Coxhead, Acorn Computers Ltd
  7.  */
  8.  
  9. #ifndef types_H
  10. #include "types.h"
  11. #endif
  12.  
  13. #ifndef os_H
  14. #include "os.h"
  15. #endif
  16.  
  17. /**********************************
  18.  * SWI names and SWI reason codes *
  19.  **********************************/
  20. #undef  UpCall_SleepNoMore
  21. #define UpCall_SleepNoMore                      0x7
  22.  
  23. /************************
  24.  * Constant definitions *
  25.  ************************/
  26. #define error_PIPE_FS_NO_BLOCKING               0x12F00u
  27.  
  28. /*************************
  29.  * Function declarations *
  30.  *************************/
  31.  
  32. #ifdef __cplusplus
  33.    extern "C" {
  34. #endif
  35.  
  36. /* ------------------------------------------------------------------------
  37.  * Function:      upcall_sleep_no_more()
  38.  *
  39.  * Description:   Informs the TaskWindow module that an open pipe has been
  40.  *                closed or deleted
  41.  *
  42.  * Input:         pollword - value of R1 on entry
  43.  *
  44.  * Other notes:   Calls SWI 0x33 with R0 = 0x7.
  45.  */
  46.  
  47. extern os_error *xupcall_sleep_no_more (int *pollword);
  48. extern void upcall_sleep_no_more (int *pollword);
  49.  
  50. #ifdef __cplusplus
  51.    }
  52. #endif
  53.  
  54. #endif
  55.