RETURN VALUE
On success, select() and pselect() return the number of file descrip-
tors contained in the three returned descriptor sets (that is, the
total number of bits that are set in readfds, writefds, exceptfds)
which may be zero if the timeout expires before anything interesting
happens. On error, -1 is returned, and errno is set appropriately; the
sets and timeout become undefined, so do not rely on their contents
after an error.
是啊,请多指教啊~~~着急啊作者: iw1210 时间: 2013-01-23 16:25
‘'that is, the total number of bits that are set in readfds, writefds, exceptfds"
什么意思?作者: lrita 时间: 2013-01-23 16:56
iw1210 发表于 2013-01-23 16:25
‘'that is, the total number of bits that are set in readfds, writefds, exceptfds"
什么意思 ...