17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * CDDL HEADER START 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 523a1cceaSRoger A. Faulkner * Common Development and Distribution License (the "License"). 623a1cceaSRoger A. Faulkner * You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate * 87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate * and limitations under the License. 127c478bd9Sstevel@tonic-gate * 137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate * 197c478bd9Sstevel@tonic-gate * CDDL HEADER END 207c478bd9Sstevel@tonic-gate */ 2123a1cceaSRoger A. Faulkner 2223a1cceaSRoger A. Faulkner /* 23*ba3594baSGarrett D'Amore * Copyright 2014 Garrett D'Amore <garrett@damore.org> 2423a1cceaSRoger A. Faulkner * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. 2523a1cceaSRoger A. Faulkner */ 2623a1cceaSRoger A. Faulkner 277c478bd9Sstevel@tonic-gate /* Copyright (c) 1988 AT&T */ 287c478bd9Sstevel@tonic-gate /* All Rights Reserved */ 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gate #ifndef _POLL_H 317c478bd9Sstevel@tonic-gate #define _POLL_H 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate /* 347c478bd9Sstevel@tonic-gate * Poll system call interface definitions. 357c478bd9Sstevel@tonic-gate */ 367c478bd9Sstevel@tonic-gate 3723a1cceaSRoger A. Faulkner #include <sys/feature_tests.h> 387c478bd9Sstevel@tonic-gate #include <sys/poll.h> 3923a1cceaSRoger A. Faulkner #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) 4023a1cceaSRoger A. Faulkner #include <time.h> 4123a1cceaSRoger A. Faulkner #include <signal.h> 4223a1cceaSRoger A. Faulkner #endif /* defined(__EXTENSIONS__) ... */ 4323a1cceaSRoger A. Faulkner 4423a1cceaSRoger A. Faulkner #ifdef __cplusplus 4523a1cceaSRoger A. Faulkner extern "C" { 4623a1cceaSRoger A. Faulkner #endif 4723a1cceaSRoger A. Faulkner 4823a1cceaSRoger A. Faulkner #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) 4923a1cceaSRoger A. Faulkner 5023a1cceaSRoger A. Faulkner extern int ppoll(struct pollfd *_RESTRICT_KYWD, nfds_t, 5123a1cceaSRoger A. Faulkner const struct timespec *_RESTRICT_KYWD, const sigset_t *_RESTRICT_KYWD); 5223a1cceaSRoger A. Faulkner 5323a1cceaSRoger A. Faulkner #endif /* defined(__EXTENSIONS__) ... */ 5423a1cceaSRoger A. Faulkner 5523a1cceaSRoger A. Faulkner #ifdef __cplusplus 5623a1cceaSRoger A. Faulkner } 5723a1cceaSRoger A. Faulkner #endif 587c478bd9Sstevel@tonic-gate 597c478bd9Sstevel@tonic-gate #endif /* _POLL_H */ 60