spollh.inc 484 B

1234567891011121314151617181920212223
  1. type
  2. Pnfds_t = ^nfds_t;
  3. nfds_t = dword;
  4. Ppollfd = ^pollfd;
  5. pollfd = record
  6. fd : longint;
  7. events : smallint;
  8. revents : smallint;
  9. end;
  10. function poll(__fds: Ppollfd; __nfds:nfds_t; __timeout:longint):longint;cdecl;external clib name 'poll';
  11. { ---------------------------------------------------------------------
  12. Borland compatibility types
  13. ---------------------------------------------------------------------}
  14. Type
  15. TPollFD = pollfd;