From owner-freebsd-bugs Thu Mar 30 11:30:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B0B1037BE87 for ; Thu, 30 Mar 2000 11:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA02047; Thu, 30 Mar 2000 11:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 30 Mar 2000 11:30:04 -0800 (PST) Message-Id: <200003301930.LAA02047@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/17694: wcstombs() and mbstowcs() unable to handle NULL argument Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/17694; it has been noted by GNATS. From: Bruce Evans 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