file_get_cursor added to libsys.c