switch to using trap number 31 for syscalls on sh
[oweals/musl.git] / src / unistd / ctermid.c
1 #include <stdio.h>
2 #include <string.h>
3
4 char *ctermid(char *s)
5 {
6         return s ? strcpy(s, "/dev/tty") : "/dev/tty";
7 }