Solved

Does DecUnix have 'poll' function?

Posted on 1997-01-22
1
401 Views
Last Modified: 2013-12-26
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
Comment
Question by:dda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
julio011597 earned 50 total points
ID: 1292366
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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question