Solved

Does DecUnix have 'poll' function?

Posted on 1997-01-22
1
394 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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