prom_ihandle2path
int prom_ihandle2path(int handle, char *buffer, int bufsize);
if (prom_ihandle2path(prom_stdout, of_console_path, 256) < 0) {