*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> strxfrm (3)              
Title
Content
Arch
Section
 

STRXFRM(3)

Contents


NAME    [Toc]    [Back]

       strxfrm - string transformation

SYNOPSIS    [Toc]    [Back]

       #include <string.h>

       size_t strxfrm(char *dest, const char *src, size_t n);

DESCRIPTION    [Toc]    [Back]

       The  strxfrm() function transforms the src string into a form such that
       the result of strcmp() on two strings that have been  transformed  with
       strxfrm()  is  the  same  as the result of strcoll() on the two strings
       before their transformation.  The first n characters of the transformed
       string  are  placed  in	dest.  The transformation is based on the program's
 current locale for category LC_COLLATE.  (See setlocale(3)).

RETURN VALUE    [Toc]    [Back]

       The strxfrm() function returns the number of bytes  required  to  store
       the  transformed  string in dest excluding the terminating `\0' character.
  If the value returned is n or more,  the  contents  of  dest  are
       indeterminate.

CONFORMING TO    [Toc]    [Back]

       SVID 3, BSD 4.3, ISO 9899

NOTES    [Toc]    [Back]

       In  the	"POSIX"  or "C" locales strxfrm() is equivalent to copying the
       string with strncpy().

SEE ALSO    [Toc]    [Back]

      
      
       bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), setlocale(3)



GNU				  1993-04-12			    STRXFRM(3)
[ Back ]
 Similar pages
Name OS Title
wstring IRIX wchar_t string operations and type transformation
wcstring IRIX wchar_t string operations and type transformation
fold_string_w Tru64 maps one wide-character string to another, performing the specified Unicode character transformation
glulookat IRIX define a viewing transformation
utf8 FreeBSD UTF-8, a transformation format of ISO 10646
gluLookAt Tru64 define a viewing transformation
loadmatrix IRIX loads a transformation matrix
lookat IRIX defines a viewing transformation
getmatrix IRIX returns a copy of a transformation matrix
multmatrix IRIX premultiplies the current transformation matrix
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service