home *** CD-ROM | disk | FTP | other *** search
- #ifndef pipefs_H
- #define pipefs_H
-
- /* C header file for PipeFS
- * written by DefMod (Jun 20 1995) on Thu Jun 22 12:11:40 1995
- * Jonathan Coxhead, Acorn Computers Ltd
- */
-
- #ifndef types_H
- #include "types.h"
- #endif
-
- #ifndef os_H
- #include "os.h"
- #endif
-
- /**********************************
- * SWI names and SWI reason codes *
- **********************************/
- #undef UpCall_SleepNoMore
- #define UpCall_SleepNoMore 0x7
-
- /************************
- * Constant definitions *
- ************************/
- #define error_PIPE_FS_NO_BLOCKING 0x12F00u
-
- /*************************
- * Function declarations *
- *************************/
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /* ------------------------------------------------------------------------
- * Function: upcall_sleep_no_more()
- *
- * Description: Informs the TaskWindow module that an open pipe has been
- * closed or deleted
- *
- * Input: pollword - value of R1 on entry
- *
- * Other notes: Calls SWI 0x33 with R0 = 0x7.
- */
-
- extern os_error *xupcall_sleep_no_more (int *pollword);
- extern void upcall_sleep_no_more (int *pollword);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-