Back to index

glibc  2.9
Classes | Defines | Typedefs | Functions
ioctl.h File Reference
#include <stdarg.h>
#include <bits/ioctls.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ioctl_handler

Defines

#define __need___va_list
#define _HURD_HANDLE_IOCTLS_1(handler, first, last, moniker)
#define _HURD_HANDLE_IOCTLS(handler, first, last)   _HURD_HANDLE_IOCTLS_1 (handler, first, last, first##_to_##last)
#define _HURD_HANDLE_IOCTL(handler, ioctl)   _HURD_HANDLE_IOCTLS_1 (handler, ioctl, ioctl, ioctl##_only)

Typedefs

typedef int(* ioctl_handler_t )(int fd, int request, void *arg)

Functions

int hurd_register_ioctl_handler (int first_request, int last_request, ioctl_handler_t handler)
ioctl_handler_t _hurd_lookup_ioctl_handler (int request)

Class Documentation

struct ioctl_handler

Definition at line 32 of file ioctl.h.

Collaboration diagram for ioctl_handler:
Class Members
int first_request
ioctl_handler_t handler
int last_request
struct ioctl_handler * next

Define Documentation

Definition at line 23 of file ioctl.h.

Definition at line 68 of file ioctl.h.

#define _HURD_HANDLE_IOCTLS (   handler,
  first,
  last 
)    _HURD_HANDLE_IOCTLS_1 (handler, first, last, first##_to_##last)

Definition at line 63 of file ioctl.h.

#define _HURD_HANDLE_IOCTLS_1 (   handler,
  first,
  last,
  moniker 
)
Value:
static const struct ioctl_handler handler##_ioctl_handler##moniker          \
       __attribute__ ((__unused__)) =                                       \
    { _IOC_NOTYPE (first), _IOC_NOTYPE (last),                              \
       (int (*) (int, int, void *)) (handler), NULL };                      \
  text_set_element (_hurd_ioctl_handler_lists,                              \
                    handler##_ioctl_handler##moniker)

Definition at line 56 of file ioctl.h.


Typedef Documentation

typedef int(* ioctl_handler_t)(int fd, int request, void *arg)

Definition at line 29 of file ioctl.h.


Function Documentation

int hurd_register_ioctl_handler ( int  first_request,
int  last_request,
ioctl_handler_t  handler 
)