changed mux-poll implementation

This commit is contained in:
2020-05-24 17:25:27 +00:00
parent 7613f09bed
commit 829267edd7
3 changed files with 46 additions and 36 deletions

View File

@ -6,4 +6,6 @@ echo
printenv
exec cat /home/hyung-hwan/projects/hawk/lib/run.c
##exec cat /home/hyung-hwan/projects/hawk/lib/uch-prop.h
##exec cat /tmp/qq

View File

@ -14,6 +14,6 @@ Connection: close\r\n\r\n";
sys::write (x, msg);
while (sys::read (x, buf) > 0) printf ("%s", buf);
while (sys::read (x, buf) > 0) { printf ("%s", buf); }
sys::close (x);
}