tadd OLOCK - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d2ffec702ecc02ddb00700b713865a7868d9805b
(DIR) parent 4f0073fec23f47ede29845f05ff5eab502be93f9
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 11 Jun 2004 14:38:44 +0000
add OLOCK
Diffstat:
M include/draw.h | 2 ++
M include/libc.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/include/draw.h b/include/draw.h
t@@ -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
(DIR) diff --git a/include/libc.h b/include/libc.h
t@@ -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 */