docs/121096: Man page tells wrong argument type for time2posix(3), posix2time(3)

Frank W. Josellis frank at dynamical-systems.org
Mon Feb 25 21:30:01 UTC 2008


>Number:         121096
>Category:       docs
>Synopsis:       Man page tells wrong argument type for time2posix(3), posix2time(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 21:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank W. Josellis
>Release:        FreeBSD 5.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD pollux.senax.net 5.5-STABLE FreeBSD 5.5-STABLE #21: Fri Feb 15 15:23:21 CET 2008 root at pollux.senax.net:/usr/obj/usr/src/sys/POLLUX i386


	
>Description:
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
 
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list