summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/portfns.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-13 15:09:39 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-13 15:09:39 +0200
commit8e11ff283f1e7c36b23e6e52c2ab0ca12a7713f9 (patch)
tree21ae354f7121d196046b6b9c36a18232afb38e43 /sys/src/cmd/cwfs/portfns.h
parent53f5bdfd06cce8093de005b8d706b752d3567cfa (diff)
cwfs: make /srv/cwfs.cmd redable to receive command output
before, cwfs would print everything to /dev/cons. this change will redirect the output of commands to the /srv/cwfs.cmd pipe so one can use: con -C /srv/cwfs.cmd and not have the fish for the output in /dev/kmesg. use standard error (/dev/cons) for unsolicited messages as there is not always a reader on the command file.
Diffstat (limited to 'sys/src/cmd/cwfs/portfns.h')
-rw-r--r--sys/src/cmd/cwfs/portfns.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/src/cmd/cwfs/portfns.h b/sys/src/cmd/cwfs/portfns.h
index 55706958d..eac4cafa0 100644
--- a/sys/src/cmd/cwfs/portfns.h
+++ b/sys/src/cmd/cwfs/portfns.h
@@ -90,7 +90,6 @@ int fwormread(Device*, Off, void*);
int fwormwrite(Device*, Off, void*);
Iobuf* getbuf(Device*, Off, int);
char* getwrd(char*, char*);
-int getc(void);
Dentry* getdir(Iobuf*, int);
Chan* getlcp(uchar*, long);
Off getraddr(Device*);
@@ -163,13 +162,11 @@ Devsize partsize(Device*);
int partwrite(Device*, Off, void*);
void prdate(void);
void preread(Device*, Off);
-void prflush(void);
int prime(vlong);
void printinit(void);
void procinit(void);
void procsetname(char *fmt, ...);
void putbuf(Iobuf*);
-void putstrn(char *str, int n);
Off qidpathgen(Device*);
void qlock(QLock*);
void* querychanger(Device *);
@@ -196,7 +193,6 @@ int serve9p1(Msgbuf*);
int serve9p2(Msgbuf*);
void settag(Iobuf*, int, long);
void settime(Timet);
-void startprint(void);
int strtouid(char*);
Off superaddr(Device*);
void superream(Device*, Off);