Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 11:30:04 -0800 (PST)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/17694: wcstombs() and mbstowcs() unable to handle NULL argument
Message-ID:  <200003301930.LAA02047@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/17694; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: mikko@dynas.se
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/17694: wcstombs() and mbstowcs() unable to handle NULL
 argument
Date: Fri, 31 Mar 2000 05:27:52 +1000 (EST)

 > ...
 > >Synopsis:       wcstombs(), mbstowcs() not complying with standard
 > ...
 > >Description:
 > 
 > Looks like these two functions are supposed to be able to take
 > a NULL destination pointer (the first one), in which case they
 > should return the length required to do the actual copy.
 
 This is a nonstandard extension.  It is not present in C89 or in at
 least the n869 draft of C99.
 
 Bruce
 
 


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




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