www.delorie.com/djgpp/doc/libc/libc_788.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004