From 53c4df149163b2df172397ae18cd2e265dfd875b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 2 Feb 2002 07:54:13 +0000 Subject: 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 --- libc/sysdeps/linux/common/syscalls.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'libc/sysdeps/linux/common') 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 +int stty (int __fd, __const struct sgttyb *__params); +{ + __set_errno(ENOSYS); + return -1; +} +#endif //#define __NR_gtty 32 +#ifdef L_gtty +#include +int gtty (int __fd, struct sgttyb *__params) +{ + __set_errno(ENOSYS); + return -1; +} +#endif //#define __NR_access 33 #ifdef L_access -- cgit v1.2.3