home *** CD-ROM | disk | FTP | other *** search
- #ifndef pipefs_H
- #define pipefs_H
-
- /* C header file for PipeFS
- * written by DefMod (Sep 7 1994) on Wed Sep 7 21:19:43 1994
- * Copyright © Acorn Computers Ltd, 1994
- */
-
- /*************************************************************************
- * This source file was written by Acorn Computers Limited. It is part *
- * of the OSLib library for writing applications for RISC OS. It may be *
- * used freely in the creation of programs for RISC OS. *
- *************************************************************************/
-
- #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
-
- /*************************************************************
- * NOTE: The following functions provide direct access to *
- * the SWI's noted in the function description. *
- * Please read the relevant PRM section for more *
- * information on their input/output parameters. *
- *************************************************************/
-
- /* ------------------------------------------------------------------------
- * 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
-