aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-14 22:37:11 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-14 22:37:11 +0000
commit8d5166fb539a4b50ecf2602cdb7f6bb105ef1d1c (patch)
treebd669a7fb5665ced5db0eaa9e93f89c6362d1ecc /sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
parent6f100d04b0faec0d809e5d244493cb56ba9de348 (diff)
downloadglibc-8d5166fb539a4b50ecf2602cdb7f6bb105ef1d1c.tar
glibc-8d5166fb539a4b50ecf2602cdb7f6bb105ef1d1c.tar.gz
glibc-8d5166fb539a4b50ecf2602cdb7f6bb105ef1d1c.tar.bz2
glibc-8d5166fb539a4b50ecf2602cdb7f6bb105ef1d1c.zip
Update.
1998-10-08 Paul Eggert <eggert@twinsun.com> * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r. Define also if HAVE_LOCALTIME_R && defined localtime_r, with a body that merely expands localtime_r; this works around a bug in Digital Unix 4.0A and 4.0D. 1998-10-14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl. * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define __ioctl to __syscall_ioctl and include Linux version of this file. * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect ioctl calls which handle struct termios. Based on a patch by Dan Jacobowitz <drow@false.org>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/tcsetattr.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/tcsetattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c b/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
new file mode 100644
index 0000000000..cfb8149ba1
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/tcsetattr.c
@@ -0,0 +1,4 @@
+/* We must use __syscall_ioctl since __ioctl does some extra work. */
+extern int __syscall_ioctl (int __fd, unsigned long int __request, ...);
+#define __ioctl __syscall_ioctl
+#include <sysdeps/unix/sysv/linux/tcsetattr.c>