use 9pclient
This commit is contained in:
parent
094c5a80c2
commit
8cc98332ad
1 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
#include <draw.h>
|
#include <draw.h>
|
||||||
#include <bio.h>
|
#include <bio.h>
|
||||||
#include <fcall.h>
|
#include <fcall.h>
|
||||||
#include <fs.h>
|
#include <9pclient.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
|
||||||
#define WIDTH 80
|
#define WIDTH 80
|
||||||
|
|
@ -90,13 +90,13 @@ threadmain(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
columnate();
|
columnate();
|
||||||
Bflush(&bout);
|
Bflush(&bout);
|
||||||
exits(0);
|
threadexitsall(0);
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
error(char *s)
|
error(char *s)
|
||||||
{
|
{
|
||||||
fprint(2, "mc: %s\n", s);
|
fprint(2, "mc: %s\n", s);
|
||||||
exits(s);
|
threadexitsall(s);
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
readbuf(int fd)
|
readbuf(int fd)
|
||||||
|
|
@ -267,7 +267,7 @@ windowrect(struct winsize *ws)
|
||||||
void
|
void
|
||||||
getwidth(void)
|
getwidth(void)
|
||||||
{
|
{
|
||||||
Fsys *fs;
|
CFsys *fs;
|
||||||
char buf[500], *p, *f[10];
|
char buf[500], *p, *f[10];
|
||||||
int fd, n, nf;
|
int fd, n, nf;
|
||||||
struct winsize ws;
|
struct winsize ws;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue