summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-14 05:38:03 +0000
committerpeter <peter@FreeBSD.org>1997-09-14 05:38:03 +0000
commitfb22d3541327d213dafb33d74f53b43b2dabef49 (patch)
tree30b2f3229ba43d077cafc94d9339232d5c5d0da1 /sys
parent232f4d661ddc75fb91c8a08d6cd1bad89ac38a45 (diff)
downloadFreeBSD-src-fb22d3541327d213dafb33d74f53b43b2dabef49.zip
FreeBSD-src-fb22d3541327d213dafb33d74f53b43b2dabef49.tar.gz
oops, I accidently committed a version without INFTIM at the last moment.
I'm not sure that this is the right place to put it, it is 'supposed' to live in stropts.h.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/poll.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/poll.h b/sys/sys/poll.h
index 35033a1..425ee1d 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: poll.h,v 1.1 1997/09/14 02:20:56 peter Exp $
*/
#ifndef _SYS_POLL_H_
@@ -70,6 +70,12 @@ struct pollfd {
#define POLLHUP 0x0010 /* file descriptor was "hung up" */
#define POLLNVAL 0x0020 /* requested events "invalid" */
+/*
+ * Request that poll wait forever.
+ * XXX this is in stropts.h in SYSV, and not #included by poll.h
+ */
+#define INFTIM (-1)
+
/* XXX: logically, this should be in <poll.h>, but SVR4 at least has it here */
#ifndef KERNEL
#include <sys/cdefs.h>
OpenPOWER on IntegriCloud