summaryrefslogtreecommitdiff
path: root/sys/src/cmd/rio/rio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/rio/rio.c')
-rw-r--r--sys/src/cmd/rio/rio.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c
index 052dcaff3..424b28640 100644
--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -361,29 +361,6 @@ keyboardthread(void*)
}
}
-/*
- * Used by /dev/kbdin
- */
-void
-keyboardsend(char *s, int cnt)
-{
- if(cnt <= 0)
- return;
- if(s[cnt-1] == 0)
- chanprint(kbdchan, "%s", s);
- else {
- Rune r;
- int nb;
-
- nb = 0;
- while(fullrune(s+nb, cnt-nb)){
- nb += chartorune(&r, s+nb);
- if(r != 0)
- chanprint(kbdchan, "c%C", r);
- }
- }
-}
-
int
portion(int x, int lo, int hi)
{