Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site azure.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!clyde!burl!hou3c!hocda!houxm!ihnp4!alberta!ubc-vision!uw-beaver!tektronix!azure!scottha From: scottha@azure.UUCP (Scott Hankerson) Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Doc bug in 4.2 utimes(2) Message-ID: <2510@azure.UUCP> Date: Sat, 21-Jan-84 22:51:46 EST Article-I.D.: azure.2510 Posted: Sat Jan 21 22:51:46 1984 Date-Received: Mon, 23-Jan-84 04:56:20 EST Organization: Tektronix, Beaverton OR Lines: 17 The documentation for utimes(2) claims that it should be declared as follows: utimes(file, tvp) char *file; struct timeval *tvp[2]; The declaration for tvp is incorrect though. It should be struct timeval tvp[2]; Both the manual page and the lint library need to be updated. You get interesting results when you give the kernel a pointer when it expects the time in seconds. (pointers, at least on VAXen, tend to look like fairly large negative numbers). Scott Hankerson