diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-09-14 05:38:03 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-09-14 05:38:03 +0000 |
commit | ce234528d8ab22a011fb5e4501ec0719faeef64c (patch) | |
tree | e7c893b63d0e5cca7e83ee707910fbcda10138b7 /sys/sys/poll.h | |
parent | 2110cdc5e4d89e0dec3a670dad13aa53fc77a835 (diff) | |
download | src-ce234528d8ab22a011fb5e4501ec0719faeef64c.tar.gz src-ce234528d8ab22a011fb5e4501ec0719faeef64c.zip |
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.
Notes
Notes:
svn path=/head/; revision=29373
Diffstat (limited to 'sys/sys/poll.h')
-rw-r--r-- | sys/sys/poll.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/poll.h b/sys/sys/poll.h index 35033a1dad1c..425ee1df5ad1 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> |