Bug 121096

Summary: Man page tells wrong argument type for time2posix(3), posix2time(3)
Product: Documentation Reporter: Frank W. Josellis <frank>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Frank W. Josellis 2008-02-25 21:30:01 UTC
According to the FreeBSD man page the argument for both time2posix(3) and 
posix2time(3) is a pointer "const time_t *t". In truth these two functions
require a time_t value, not a pointer.

NetBSD has it correctly, see e.g.  
http://man.netbsd.se/?find=time2posix+3+161
Comment 1 Frank W. Josellis 2008-02-25 22:43:30 UTC
Forget it, I see that this has already been fixed. Sorry.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-02-26 05:31:34 UTC
State Changed
From-To: open->closed

Closed at submitter's request.