projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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
}