The time(9) manpage references a non existent gettime(9) manpage. Things have also changed a bit with time keeping, and this is probably a bit out of date. There is no gettime() function now. I could only find clock_gettime() in sys/kern/kern_time.c that seems similar to what time(9) describes that gettime() would do. How-To-Repeat: Err, read the manpage? It says that gettime() can be used, but all I could find in the kernel sources was clock_gettime(); this is one that seems similar and has no manpage too :-/
Giorgos Keramidas <charon@labs.gr> wrote: > >Description: > > The time(9) manpage references a non existent gettime(9) manpage. > Things have also changed a bit with time keeping, and this is probably > a bit out of date. There is no gettime() function now. I could only > find clock_gettime() in sys/kern/kern_time.c that seems similar to > what time(9) describes that gettime() would do. > > >How-To-Repeat: > > Err, read the manpage? It says that gettime() can be used, but > all I could find in the kernel sources was clock_gettime(); this > is one that seems similar and has no manpage too :-/ I think the right thing to do would be to update the man page not to talk about functions that don't exist rather than removing gettime(9) from SEE ALSO. It is further pointless because the rest of the man page references gettime(9), so you wouldn't have fixed anything--there would still be references to man pages that don't exist.
Responsible Changed From-To: freebsd-doc->trhodes Over to me. I'll try to Xref the correct manual page and clean this page up a tad.
Looks like this PR can be closed as src/share/man/man9/time.9 has been changed in revision 1.13 in such a way that what was proposed in this PR was fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/30442
State Changed From-To: open->closed It seems that this has already been committed.