sortix-mirror/libc/unistd
Pedro Falcato e2c57ad789 Fix ttyname_r error return values
POSIX specifies ttyname_r should return errno and not do the usual
return errno = error, -1;

Fixes #732
2023-02-21 23:22:11 +00:00
..
_exit.c
access.c
alarm.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
alarmns.c
chdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chown.c
chroot.c
close.c
closefrom.c
confstr.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
crypt_newhash.c
dup.c
dup2.c
dup3.c
environ.c
execl.c
execle.c
execlp.c
execlpe.c
execv.c
execve.c
execvp.c
execvpe.c
exit_thread.c
faccessat.c
fchdir.c
fchdirat.c
fchown.c
fchownat.c
fchroot.c
fchrootat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fork.c
fpathconf.c
fsync.c
ftruncate.c
get_current_dir_name.c
getcwd.c
getegid.c
getentropy.c
geteuid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getgid.c
gethostname.c
getlogin.c
getlogin_r.c
getpagesize.c
getpgid.c
getpid.c
getppid.c
getsid.c
getuid.c
isatty.c
lchown.c
link.c
linkat.c
lseek.c
memstat.c
mkpartition.c
pathconf.c
pipe.c
pipe2.c
pread.c
pwrite.c
read.c
readlink.c
readlinkat.c
rmdir.c
setegid.c
seteuid.c
setgid.c
sethostname.c
setpgid.c
setsid.c
setuid.c
sfork.c
sleep.c
symlink.c
symlinkat.c
sysconf.c
tcgetpgrp.c
tcsetpgrp.c
tfork.c
truncate.c
truncateat.c
ttyname.c
ttyname_r.c Fix ttyname_r error return values 2023-02-21 23:22:11 +00:00
unlink.c
unlinkat.c
usleep.c
write.c