Files
termux-packages/packages/ruff/ctermid.c
termux-pacman-bot e8bf8446c1 ruff: Bump to 0.0.246
2023-02-13 08:35:27 +00:00

12 lines
140 B
C

char *strcpy(char *, const char *);
char *
ctermid(char *s)
{
if (s == 0)
return "/dev/tty";
strcpy(s, "/dev/tty");
return s;
}