Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 22:26:50 +0100 (CET)
From:      "Frank W. Josellis" <frank@dynamical-systems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/121096: Man page tells wrong argument type for time2posix(3), posix2time(3)
Message-ID:  <200802252126.m1PLQo0j001131@pollux.senax.net>
Resent-Message-ID: <200802252130.m1PLU1Rt097741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802252126.m1PLQo0j001131>