HelenOS sources

LIN_TO_COL         74 uspace/lib/clui/src/tinput.c 	unsigned col = LIN_TO_COL(ti, lpos);
LIN_TO_COL        259 uspace/lib/clui/src/tinput.c 	unsigned new_width = LIN_TO_COL(ti, ti->text_coord) + ti->nc + ilen;
HelenOS homepage, sources at GitHub