[net.bugs.4bsd] Doc bug in 4.2 utimes

scottha@azure.UUCP (Scott Hankerson) (01/22/84)

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