|
发表于 2003-12-5 18:31:36
|
显示全部楼层
你搞错了.
在<sys/select.h>中定义如下:
[code:1]
extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout) __THROW;
[/code:1]
原型是
[code:1]
int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
struct timeval *timeout);
[/code:1]
你把下划线搞丢了. |
|