Miha Tomšič je napisal(a):
Hojla!

A ima kdo kakšen dober tutorial za select(), ker mi ni vse jasno?
Poglej si na tem naslovu:
http://www.gnu.org/software/libc/manual/html_node/Waiting-for-I_002fO.html#Waiting-for-I_002fO

izgleda nekako takole:

_Function:_ int *select* /(int nfds, fd_set *read-fds, fd_set *write-fds, fd_set *except-fds, struct timeval *timeout)/
   The |select| function blocks the calling process until there is
   activity on any of the specified sets of file descriptors, or until
   the timeout period has expired.

   The file descriptors specified by the read-fds argument are checked
   to see if they are ready for reading; the write-fds file descriptors
   are checked to see if they are ready for writing; and the except-fds
   file descriptors are checked for exceptional conditions. You can
   pass a null pointer for any of these arguments if you are not
   interested in checking for that kind of condition. ...


lp
Bojan
_______________________________________________
lugos-prog mailing list
[email protected]
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-prog

Reply via email to