This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH] mbsnrtowcs/wcsnrtombs
- From: "Howland Craig D (Craig)" <howland at LGSInnovations dot com>
- To: <newlib at sourceware dot org>
- Date: Fri, 13 Feb 2009 19:54:55 -0500
- Subject: RE: [PATCH] mbsnrtowcs/wcsnrtombs
- References: <20090213183507.GU5416@calimero.vinschen.de>
What about documentation? (i.e. I did not see any man page
material
for the 2 new functions.)
Craig
-----Original Message-----
From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
On Behalf Of Corinna Vinschen
Sent: Friday, February 13, 2009 1:35 PM
To: newlib@sourceware.org
Subject: [PATCH] mbsnrtowcs/wcsnrtombs
Hi,
the below patch adds the two functions mbsnrtowcs and wcsnrtombs, as
defined in BSD and POSIX.1-2008, as well as their reentrant siblings.
Actually, the functions are just copies of the functions mbsrtowcs and
wcsrtombs, just with the additional parameter. The extra handling for
the new parameter is really a minor change. The old 'r' functions are
now simply implemented by calling the new 'nr' functions.
Corinna
...