Go to the first, previous, next, last section, table of contents.


strxfrm

Syntax

#include <string.h>

size_t strxfrm(char *s1, const char *s2, size_t max);

Description

This copies characters from s2 to s1, which must be able to hold max characters. Each character is transformed according to the locale such that strcmp(s1b, s2b) is just like strcoll(s1, s2) where s1b and s2b are the transforms of s1 and s2.

Return Value

The actual number of bytes required to transform s2, including the NULL.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.