#include <9pm/u.h> #include <9pm/libc.h> void oserror(void) { char buf[ERRMAX]; osrerrstr(buf, sizeof buf); errstr(buf, sizeof buf); }