sgcn_rw
#define CONSOLE_READ(buf, len) sgcn_rw(RW_CONSOLE_READ, buf, len)
#define CONSOLE_WRITE(buf, len) sgcn_rw(RW_CONSOLE_WRITE, buf, len)
static int sgcn_rw(int, caddr_t, int);