Sponsored Content
Full Discussion: new here
The Lounge What is on Your Mind? new here Post 302106004 by _Spare_Ribs_ on Tuesday 6th of February 2007 02:40:11 AM
Old 02-06-2007
Hi there and welcome aboard. Lots of useful information here along with an extensive collection of solutions which can be found using the forum search options, and of course, plenty of knowledgable *nixers ready to help!

Hope you enjoy your stay.
 
io_wait(3)						     Library Functions Manual							io_wait(3)

NAME
io_wait - wait for events SYNTAX
#include <io.h> void io_wait(); DESCRIPTION
io_wait() checks the descriptors that the program is interested in to see whether any of them are ready. If none of them are ready, io_wait() tries to pause until one of them is ready, so that it does not take time away from other programs running on the same computer. io_wait pays attention to timeouts: if a descriptor reaches its timeout, and the program is interested in reading or writing that descrip- tor, io_wait will return promptly. Under some circumstances, io_wait will return even though no interesting descriptors are ready. Do not assume that a descriptor is ready merely because io_wait has returned. io_wait is not interrupted by the delivery of a signal. Programs that expect interruption are unreliable: they will block if the same sig- nal is delivered a moment before io_wait. The correct way to handle signals is with the self-pipe trick. SEE ALSO
io_waituntil(3), io_check(3), io_wantread(3), io_wantwrite(3), io_fd(3) io_wait(3)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy