Xenomai API  2.6.5

file descriptors events multiplexing. More...

Include dependency graph for select.c:

Functions

void xnselect_init (struct xnselect *select_block)
 Initialize a struct xnselect structure. More...
 
int xnselect_bind (struct xnselect *select_block, struct xnselect_binding *binding, struct xnselector *selector, unsigned type, unsigned index, unsigned state)
 Bind a file descriptor (represented by its xnselect structure) to a selector block. More...
 
void xnselect_destroy (struct xnselect *select_block)
 Destroy the xnselect structure associated with a file descriptor. More...
 
int xnselector_init (struct xnselector *selector)
 Initialize a selector structure. More...
 
int xnselect (struct xnselector *selector, fd_set *out_fds[XNSELECT_MAX_TYPES], fd_set *in_fds[XNSELECT_MAX_TYPES], int nfds, xnticks_t timeout, xntmode_t timeout_mode)
 Check the state of a number of file descriptors, wait for a state change if no descriptor is ready. More...
 
void xnselector_destroy (struct xnselector *selector)
 Destroy a selector block. More...
 

Detailed Description

file descriptors events multiplexing.

Author
Gilles Chanteperdrix

Copyright (C) 2008 Efixo gille.nosp@m.s.ch.nosp@m.antep.nosp@m.erdr.nosp@m.ix@xe.nosp@m.noma.nosp@m.i.org

Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.