Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 18:54:19 +0100 (CET)
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/23717: printf(3) is unclear about asprintf(3) return value
Message-ID:  <200012211754.eBLHsJK65333@critter.freebsd.dk>
Resent-Message-ID: <200012211800.eBLI04387080@freefall.freebsd.org>

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

>Number:         23717
>Category:       docs
>Synopsis:       printf(3) is unclear about asprintf(3) return value
>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:   Thu Dec 21 10:00:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
P.E.Mønsted, Fregatten Jylland som barn.
>Environment:
System: FreeBSD critter.freebsd.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Fri Dec 15 13:12:35 CET 2000 root@critter.freebsd.dk:/freebsd/src/sys/compile/FLUTTER i386

>Description:
	printf(3) says:

	    [...]
	    int
	    asprintf(char **ret, const char *format, ...)
	    [...]
	    Asprintf() and vasprintf() return a pointer to a buffer [...]

	It seems to me that asprintf() returns an int...


>How-To-Repeat:
	
>Fix:

	

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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