musl - an implementation of the standard library for Linux-based systems
blob: 1612770af158ce068e2b9a1ecc89c4d910d76edd (
plain) (
blame)
1
2
3
4
5
6
7
|
#include <stdio.h>
#include <string.h>
char *ctermid(char *s)
{
return s ? strcpy(s, "/dev/tty") : "/dev/tty";
}
|