File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / strxfrm
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



strxfrm()                String Function                strxfrm()




Transform a string

#include <string.h>
uunnssiiggnneedd iinntt ssttrrxxffrrmm(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2, _n);
cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2; uunnssiiggnneedd iinntt _n);

strxfrm  transforms  string2  using  information  concerning  the
program's locale, as set by the function setlocale.

strxfrm writes  up to n bytes of the  transformed result into the
area pointed to by string1.   It returns the length of the trans-
formed string, not including the terminating null character.  The
transformation   incorporates   locale-specific   material   into
string2.

If n  is set to  zero, strxfrm returns  the length of  the trans-
formed string.

If two  strings return  a given  result when compared  by strcoll
before transformation, they will return the same result when com-
pared by strcmp after transformation.

***** See Also *****

string functions, string.h

***** Notes *****

If strxfrm returns  a value equal to or greater  than n, the con-
tents of the area pointed to by string1 are indeterminate.

COHERENT  has  not yet  implemented  the  ANSI locale  functions.
Therefore, strxfrm behaves the same as strcpy.























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.