5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
8 Desc: Unix filedescriptor/socket IO Include File
12 #include <exec/libraries.h>
13 #include <exec/ports.h>
15 #include <interface/Hidd_UnixIO.h>
17 #define CLID_Hidd_UnixIO "unixio.hidd"
24 void (*handler
)(int, int, void *);
29 * (Semi)-public part of unixio.hidd library base.
30 * Normally you don't need to access it at all. However it can be
31 * useful if you want to use more specific operations on filedescriptors.
32 * For example emul-handler needs this.
36 struct Library uio_Library
; /* Library node */
37 APTR uio_LibcHandle
; /* hostlib.resource's handle to host libc */
38 int *uio_ErrnoPtr
; /* Pointer to host's errno variable */
42 #define vHidd_UnixIO_Read 0x1
43 #define vHidd_UnixIO_Write 0x2
44 #define vHidd_UnixIO_RW (vHidd_UnixIO_Read | vHidd_UnixIO_Write)
45 #define vHidd_UnixIO_Error 0x10
47 #endif /* HIDD_UNIXIO_H */