Casper Dik wrote:
> 2. Discussion
>
>Linux, the various BSD operating systems and now IEEE Std 1003.1-2008
>provide the { |stpcpy()|, |stpncpy()|, |wcpcpy()|, |wcpncpy()| }-family
>of functions. These behave similar as the |str*cpy()|/|wcs*cpy()|
>family of functions, except tha
James Carlson wrote:
> Casper Dik writes:
> >char *stpcpy(char *restrict s1, const char *restrict s2);
> >char *stpncpy(char *restrict s1, const char *restrict s2, size_t n);
> >wchar_t *wcpcpy(wchar_t restrict *ws1, const wchar_t *restrict ws2);
> >wchar_t *wcpncpy(wchar_t restri
James Carlson wrote:
> Casper Dik writes:
>>char *stpcpy(char *restrict s1, const char *restrict s2);
>>char *stpncpy(char *restrict s1, const char *restrict s2, size_t n);
>>wchar_t *wcpcpy(wchar_t restrict *ws1, const wchar_t *restrict ws2);
>>wchar_t *wcpncpy(wchar_t restrict *
Casper.Dik at Sun.COM writes:
> >My primary interest was |stpcpy()| to get performance of the locale
> >codepaths fixed (we assume that we check at the _beginning_ that all
> >allocated buffers have sufficient size (since the use of something like
> >|stplcpy()| would completely kill the performanc
Casper Dik writes:
>char *stpcpy(char *restrict s1, const char *restrict s2);
>char *stpncpy(char *restrict s1, const char *restrict s2, size_t n);
>wchar_t *wcpcpy(wchar_t restrict *ws1, const wchar_t *restrict ws2);
>wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restric
Template Version: @(#)sac_nextcase %I% %G% SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
1.1. Project/Component Working Name:
stpcpy, stpncpy, wcpcpy, wcpncpy in lib C
1.2. Name of Document Author/Supplier:
Author: Roland Mainz
1.3 Date of