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