Bug 30442

Summary: remove broken reference to gettime(9) from time(9) manpage
Product: Documentation Reporter: Giorgos Keramidas <charon>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Giorgos Keramidas 2001-09-09 01:50:00 UTC
    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 :-/
Comment 1 dima 2001-09-09 15:37:47 UTC
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.
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2003-05-04 01:02:23 UTC
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.
Comment 3 Siebrand.Mazeland 2005-12-16 13:10:20 UTC
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
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2005-12-23 21:19:02 UTC
State Changed
From-To: open->closed

It seems that this has already been committed.