Solved

Does DecUnix have 'poll' function?

Posted on 1997-01-22
1
373 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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
if loop in java 3 114
lucky13 challenge 11 111
post4 challenge 28 81
how to split multiple lines delimiter : 8 53
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now