Module Name: src
Committed By: snj
Date: Tue Mar 31 23:32:06 UTC 2009
Modified Files:
src/share/man/man4 [netbsd-5]: clockctl.4
Log Message:
Pull up following revision(s) (requested by enami in ticket #615):
share/man/man4/clockctl.4: revision 1.6
Sync ioctl arguments with reality; they are changed 3 years ago.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.4.1 src/share/man/man4/clockctl.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/clockctl.4
diff -u src/share/man/man4/clockctl.4:1.5 src/share/man/man4/clockctl.4:1.5.4.1
--- src/share/man/man4/clockctl.4:1.5 Wed Apr 30 13:10:53 2008
+++ src/share/man/man4/clockctl.4 Tue Mar 31 23:32:06 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: clockctl.4,v 1.5 2008/04/30 13:10:53 martin Exp $
+.\" $NetBSD: clockctl.4,v 1.5.4.1 2009/03/31 23:32:06 snj Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 20, 2001
+.Dd February 19, 2009
.Dt CLOCKCTL 4
.Os
.Sh NAME
@@ -75,43 +75,45 @@
This will run the
.Xr settimeofday 2
system call. Argument should be a pointer to a
-.Va struct clockctl_settimeofday_args :
+.Va struct clockctl_settimeofday :
.Bd -literal
-struct clockctl_settimeofday_args {
- struct timeval tv;
- struct timezone tzp;
+struct clockctl_settimeofday {
+ const struct timeval *tv;
+ const void *tzp;
};
.Ed
.It Dv CLOCKCTL_CLOCK_SETTIME
This will run the
.Xr clock_settime 2
system call. Argument should be a pointer to a
-.Va struct clockctl_clock_settime_args :
+.Va struct clockctl_clock_settime :
.Bd -literal
-struct clockctl_clock_settime_args {
- clockid_t clock_id;
- struct timespec tp;
+struct clockctl_clock_settime {
+ clockid_t clock_id;
+ struct timespec *tp;
};
.Ed
.It Dv CLOCKCTL_ADJTIME
This will run the
.Xr adjtime 2
system call. Argument should be a pointer to a
-.Va struct clockctl_adjtime_args :
+.Va struct clockctl_adjtime :
.Bd -literal
-struct clockctl_adjtime_args {
- struct timeval delta;
- struct timeval olddelta;
+struct clockctl_adjtime {
+ const struct timeval *delta;
+ struct timeval *olddelta;
};
.Ed
.It Dv CLOCKCTL_NTP_ADJTIME
This will run the
.Xr ntp_adjtime 2
system call. Argument should be a pointer to a
-.Va struct clockctl_ntp_adjtime_args :
+.Va struct clockctl_ntp_adjtime :
.Bd -literal
-struct clockctl_ntp_adjtime_args {
- struct timex tp;
+struct clockctl_ntp_adjtime {
+ struct timex *tp;
+.\" Following member is commented out intentionally.
+.\" register_t retval;
};
.Ed
.El