diff options
author | tedu <tedu@openbsd.org> | 2003-12-17 02:43:25 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2003-12-17 02:43:25 +0000 |
commit | cc9a13804b8a166b80bbab0b93549b55b26ea2a4 (patch) | |
tree | 4f3897bc54fa7b8c2a0118d1e3c34975ca494b87 /sys/sys/event.h | |
parent | Add ccd(4) and ccdconfig(8) to CD ramdisk; needs changes in upgrade.sh (diff) | |
download | wireguard-openbsd-cc9a13804b8a166b80bbab0b93549b55b26ea2a4.tar.xz wireguard-openbsd-cc9a13804b8a166b80bbab0b93549b55b26ea2a4.zip |
add NOTE_EOF (return on EOF) and NOTE_TRUNCATE (vnode was truncated)
to kqueue
from marius@monkey tested by brad@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 85886bd470f..826332fd639 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.7 2003/07/22 01:05:07 tedu Exp $ */ +/* $OpenBSD: event.h,v 1.8 2003/12/17 02:43:25 tedu Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -79,6 +79,7 @@ struct kevent { * data/hint flags for EVFILT_{READ|WRITE}, shared with userspace */ #define NOTE_LOWAT 0x0001 /* low water mark */ +#define NOTE_EOF 0x0002 /* return on EOF */ /* * data/hint flags for EVFILT_VNODE, shared with userspace @@ -90,6 +91,7 @@ struct kevent { #define NOTE_LINK 0x0010 /* link count changed */ #define NOTE_RENAME 0x0020 /* vnode was renamed */ #define NOTE_REVOKE 0x0040 /* vnode access was revoked */ +#define NOTE_TRUNCATE 0x0080 /* vnode was truncated */ /* * data/hint flags for EVFILT_PROC, shared with userspace |