manual page distributed with 4.1BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 10 May 1985 08:55:00 +0000 (00:55 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 10 May 1985 08:55:00 +0000 (00:55 -0800)
SCCS-vsn: lib/libc/sys/gettimeofday.2 4.1

usr/src/lib/libc/sys/gettimeofday.2 [new file with mode: 0644]

diff --git a/usr/src/lib/libc/sys/gettimeofday.2 b/usr/src/lib/libc/sys/gettimeofday.2
new file mode 100644 (file)
index 0000000..13d64b7
--- /dev/null
@@ -0,0 +1,34 @@
+.\" Copyright (c) 1980 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)gettimeofday.2      4.1 (Berkeley) %G%
+.\"
+.TH STIME 2 
+.UC 4
+.SH NAME
+stime \- set time
+.SH SYNOPSIS
+.nf
+.B stime(tp)
+.B long *tp;
+.fi
+.SH DESCRIPTION
+.I Stime
+sets the system's idea of the time and date.
+Time, pointed to by
+.I tp,
+is measured in seconds from 0000 GMT Jan 1, 1970.
+Only the super-user may use this call.
+.SH "SEE ALSO"
+date(1), time(2), ctime(3)
+.SH DIAGNOSTICS
+Zero is returned if the time was set;
+\-1 if user is not the super-user.
+.SH "ASSEMBLER (PDP-11)"
+(stime = 25.)
+.br
+(time in r0-r1)
+.br
+.B sys stime
+.PP