Transform a locale-specific character array.
Compatibility:This function is compatible with the following targets:
|
|
#include <string.h>
size_t strxfrm(char *dest,  
const char *source, size_t n);
Parameters for this facility are:
strxfrm() returns the length of dest after it has received source.
#include <string.h>
#include <stdio.h>
int main(void)
{
char d[50];
static char s[] = "123456789ABCDEFG";
size_t result;
result = strxfrm(d, s, 30);
printf("%d characters copied: %s\n", result, d);
return 0;
}
Output:
16 characters copied: 123456789ABCDEFG
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000