utimes - change the access and modification times of a Shore object


CONTENTS


SYNOPSIS

VASResult       shore_vas::utimes(
    const Path          name,   
	const timeval		*tvpa,
	const timeval		*tvpm
);

DESCRIPTION

The function utimes sets the access time and modification times of a Shore registered object. The caller must be the owner of the object, must have write permission on the object, or must be the super-user to use utimes. Only the super-user can set a time to anything other than the current time.

Utimes always sets the object's status-changed time (ctime) to the current time.


ARGUMENTS

If tvpa is NULL, the access time is set to the current time, otherwise it is set to the value given in the structure to which tvpa points.

If tvpm is NULL, the modification time is set to the current time, otherwise it is set to the value given in the structure to which tvpa points.


ENVIRONMENT

A complete list of errors is in errors(svas).

VERSION

This manual page applies to Version 1.1.1 of the Shore software.

SPONSORSHIP

The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.

COPYRIGHT

Copyright © 1994, 1995, 1996, 1997, Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

sysprops(svas) and errors(svas).