diff options
author | peter <peter@FreeBSD.org> | 1997-09-14 05:38:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-14 05:38:03 +0000 |
commit | fb22d3541327d213dafb33d74f53b43b2dabef49 (patch) | |
tree | 30b2f3229ba43d077cafc94d9339232d5c5d0da1 /sys | |
parent | 232f4d661ddc75fb91c8a08d6cd1bad89ac38a45 (diff) | |
download | FreeBSD-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.h | 8 |
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> |