plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d2ffec702ecc02ddb00700b713865a7868d9805b
parent 4f0073fec23f47ede29845f05ff5eab502be93f9
Author: rsc <devnull@localhost>
Date:   Fri, 11 Jun 2004 14:38:44 +0000

add OLOCK

Diffstat:
Minclude/draw.h | 2++
Minclude/libc.h | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/draw.h b/include/draw.h @@ -536,6 +536,8 @@ int _drawmsgread(Display*, void*, int); int _drawmsgwrite(Display*, void*, int); int _latin1(Rune*, int); +int mousescrollsize(int); + #if defined(__cplusplus) } #endif diff --git a/include/libc.h b/include/libc.h @@ -561,6 +561,7 @@ extern void freenetconninfo(NetConnInfo*); #define ORCLOSE 64 /* or'ed in, remove on close */ #define ODIRECT 128 /* or'ed in, bypass the cache */ #define OEXCL 0x1000 /* or'ed in, exclusive use (create only) */ +#define OLOCK 0x2000 /* or'ed in, lock after opening */ #define AEXIST 0 /* accessible: exists */ #define AEXEC 1 /* execute access */