Move cursor in terminal Mac OSX

In Windows, you can include <windows.h> to accomplish this with the SetConsoleCursorPosition() function. I am wondering if there is anything similar on Mac that I can use?
Topic archived. No new replies allowed.