diff options
author | rsc <devnull@localhost> | 2004-04-29 17:13:24 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-29 17:13:24 +0000 |
commit | be36ff68854c86247fdc769c0eaa89eb284b5ca7 (patch) | |
tree | a523e17071eb0e3088f906446b158b3d184b77fe /include | |
parent | 3d72637f9b4c42b1fc9b7d95d278ea3dd65c748d (diff) | |
download | plan9port-be36ff68854c86247fdc769c0eaa89eb284b5ca7.tar.gz plan9port-be36ff68854c86247fdc769c0eaa89eb284b5ca7.tar.bz2 plan9port-be36ff68854c86247fdc769c0eaa89eb284b5ca7.zip |
add -W to specify window size.
various other little fixes.
Diffstat (limited to 'include')
-rw-r--r-- | include/draw.h | 2 | ||||
-rw-r--r-- | include/libc.h | 4 | ||||
-rw-r--r-- | include/thread.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/include/draw.h b/include/draw.h index 4b579346..9e1a5d5b 100644 --- a/include/draw.h +++ b/include/draw.h @@ -526,6 +526,8 @@ char *getsnarf(void); void putsnarf(char*); void drawtopwindow(void); +void drawresizewindow(Rectangle); +extern char *winsize; /* * Port magic. diff --git a/include/libc.h b/include/libc.h index ee396cc4..8654bd98 100644 --- a/include/libc.h +++ b/include/libc.h @@ -379,7 +379,7 @@ extern int netcrypt(void*, void*); extern void p9notejmp(void*, p9jmp_buf, int); extern void perror(const char*); extern int postnote(int, int, char *); -extern double pow10(int); +extern double p9pow10(int); /* extern int putenv(char*, char*); <stdlib.h. */ /* extern void qsort(void*, long, long, int (*)(void*, void*)); <stdlib.h> */ /* extern int p9setjmp(p9jmp_buf); */ @@ -417,6 +417,7 @@ extern void needstack(int); #define jmp_buf p9jmp_buf #define syslog p9syslog #define time p9time +#define pow10 p9pow10 #endif /* @@ -556,6 +557,7 @@ extern void freenetconninfo(NetConnInfo*); #define OTRUNC 16 /* or'ed in (except for exec), truncate file first */ #define OCEXEC 32 /* or'ed in, close on exec */ #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 AEXIST 0 /* accessible: exists */ diff --git a/include/thread.h b/include/thread.h index 18bb4091..356d7b62 100644 --- a/include/thread.h +++ b/include/thread.h @@ -115,7 +115,7 @@ int threadrecvfd(int); long threadwrite(int, const void*, long); int threadsendfd(int, int); int threadsetgrp(int); /* set thread group, return old */ -void threadsetname(char *name); +void threadsetname(char *fmt, ...); void threadsleep(int); Channel* threadwaitchan(void); int tprivalloc(void); |