aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/draw.h2
-rw-r--r--include/libc.h4
-rw-r--r--include/thread.h2
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);