HelenOS sources

termui_get_pos    510 uspace/app/terminal/terminal.c 	termui_get_pos(term->termui, &icol, &irow);
termui_get_pos    126 uspace/lib/termui/include/termui.h void termui_get_pos(const termui_t *termui, int *col, int *row);
HelenOS homepage, sources at GitHub