2 * usema/usemaclone-related stuff.
4 * `Inspired' by IRIX's sys/usioctl.h
10 #define UIOC ('u' << 16 | 's' << 8)
12 #define UIOCATTACHSEMA (UIOC|2) /* attach to sema */
13 #define UIOCBLOCK (UIOC|3) /* block sync "intr"? */
14 #define UIOCABLOCK (UIOC|4) /* block async */
15 #define UIOCNOIBLOCK (UIOC|5) /* IRIX: block sync intr
16 Linux: block sync nointr */
17 #define UIOCUNBLOCK (UIOC|6) /* unblock sync */
18 #define UIOCAUNBLOCK (UIOC|7) /* unblock async */
19 #define UIOCINIT (UIOC|8) /* init sema (async) */
21 typedef struct usattach_s
{
22 dev_t us_dev
; /* attach dev */
23 void *us_handle
; /* userland semaphore handle */