diff options
author | Roland McGrath <roland@redhat.com> | 2004-10-06 22:27:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2004-10-06 22:27:43 +0000 |
commit | d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996 (patch) | |
tree | 69b1a56800f790069ed3ca90245707e792696b7d /ioctl.c | |
parent | d2553bbb8728f83bce358eaba0396255279da62c (diff) | |
download | strace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.gz strace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.bz2 strace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.xz |
2004-09-13 Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>
* time.c [LINUX] (print_rtc): New function, for printing rtc_time
structure.
[LINUX] (rtc_ioctl): New function, for parsing RTC_* ioctls.
* ioctl.c [LINUX] (ioctl_decode): Call rtc_ioctl.
* defs.h [LINUX]: Declare rtc_ioctl.
Fixes RH#58606.
Diffstat (limited to 'ioctl.c')
-rw-r--r-- | ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -149,6 +149,10 @@ long code, arg; case 'S': return stream_ioctl(tcp, code, arg); #endif /* HAVE_SYS_STREAM_H */ +#ifdef LINUX + case 'p': + return rtc_ioctl(tcp, code, arg); +#endif default: break; } |