#include #include #include char *ctermid(char *s) { unsupported_api(__FUNCTION__); return s ? strcpy(s, "/dev/tty") : "/dev/tty"; }