Les MANs Linux en français...
POLL_WAIT
Section: Fonctions du noyau Linux (9)Updated: 19 Mars 1999
Index Retour au Menu Principal
NOM
poll_wait - attend qu'un événement sélectionnable soit prêtSYNOPSIS
#include <linux/poll.h>void poll_wait(structwait_queue**sync, poll_table*pt)
DESCRIPTION
static unsigned int xxpoll(struct file*file, poll_table*pt) { poll_wait(&data_in_sync, pt); if (data_in.cnt > 0) return POLLIN | POLLRDNORM; else return 0; }
Cet exemple montre un usage élémentaire de poll_wait(9) dans la fonction poll d'un pilote de périphérique.
DISPONIBILITÉ
Linux kernel 2.1.34+VOIR AUSSI
intro(9)AUTEUR
Stephen Williams <steve@icarus.com>TRADUCTION
Thierry Vignaud <tvignaud@mandrakesoft.com>, 1999BOGUES
Trop top pour le dire !
Index
Time: 09:54:52 GMT, December 26, 2004