Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Does DecUnix have 'poll' function?

Is there a system call named 'poll' in Digital Unix?
For example, in UnixWare 2.01 (SVR4.2) we have:

----- ["man 2 poll"] -----

       poll(2)                                                      poll(2)

       NAME
             poll - input/output multiplexing

       SYNOPSIS
             #include <stropts.h>
             #include <poll.h>
             int poll(struct pollfd *fds, unsigned long nfds, int timeout);

       DESCRIPTION
             poll provides users with a mechanism for multiplexing
             input/output over a set of file descriptors that reference
             open files.  poll identifies those files on which a user can
             send or receive messages, or on which certain events have
             occurred.

------ [end man poll]-------
Note: we do not want to hear about 'select' call!
0
dda
Asked:
dda
1 Solution
 
julio011597Commented:
just issue: man poll(2)

Synopsis:

#include <sys/poll.h>
int poll(
  struct pollfd filedes[],
  unsigned int nfds,
  int timeout);


Should be what you need.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now