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

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

diff --git a/usr/src/lib/libc/sys/utimes.2 b/usr/src/lib/libc/sys/utimes.2
new file mode 100644 (file)
index 0000000..419f533
--- /dev/null
@@ -0,0 +1,38 @@
+.\" Copyright (c) 1980 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)utimes.2    4.1 (Berkeley) %G%
+.\"
+.TH UTIME 2
+.UC 4
+.SH NAME
+utime \- set file times
+.SH SYNOPSIS
+.nf
+.B #include <sys/types.h>
+.PP
+.B utime(file, timep)
+.B char *file;
+.B time_t timep[2];
+.fi
+.SH DESCRIPTION
+The
+.I utime
+call
+uses the
+`accessed' and `updated' times in that order
+from the
+.I timep
+vector
+to set the corresponding recorded times for
+.I file.
+.PP
+The caller must be the owner of the file or the super-user.
+The `inode-changed' time of the file is set to the current time.
+.SH SEE ALSO
+stat (2)
+.SH "ASSEMBLER (PDP-11)"
+(utime = 30.)
+.br
+.B sys utime; file; timep