diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-02 07:54:13 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-02 07:54:13 +0000 |
commit | 53c4df149163b2df172397ae18cd2e265dfd875b (patch) | |
tree | 5138ec9e0b008e78d80e8c88053334208b36716c /libc/sysdeps | |
parent | d62a439a4f32e8e2f8b9c437688b9fc7db91f437 (diff) |
Several little additions and cleanups. Add getw() and putw().
Add in some missing header files (netipx/ipx.h include/lastlog.h
include/sgtty.h include/sys/perm.h)
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 92d6265be..b0cf4232f 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -268,8 +268,24 @@ _syscall2(int, utime, const char *, filename, const struct utimbuf *, buf); #endif //#define __NR_stty 31 +#ifdef L_stty +#include <sgtty.h> +int stty (int __fd, __const struct sgttyb *__params); +{ + __set_errno(ENOSYS); + return -1; +} +#endif //#define __NR_gtty 32 +#ifdef L_gtty +#include <sgtty.h> +int gtty (int __fd, struct sgttyb *__params) +{ + __set_errno(ENOSYS); + return -1; +} +#endif //#define __NR_access 33 #ifdef L_access |