xref: /original-bsd/lib/libc/string/strxfrm.3 (revision a91856c6)
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek.
6.\" %sccs.include.redist.man%
7.\"
8.\"     @(#)strxfrm.3	5.3 (Berkeley) 04/19/91
9.\"
10.Dd
11.Dt STRXFRM 3
12.Os
13.Sh NAME
14.Nm strxfrm
15.Nd transform a string under locale
16.Sh SYNOPSIS
17.Fd #include <string.h>
18.Ft size_t
19.Fn strxfrm "char *dst" "const char *src" "size_t n"
20.Sh DESCRIPTION
21The
22.Fn strxfrm
23function
24does something horrible (see
25.Tn ANSI
26standard).
27In this implementation it just copies.
28.Sh SEE ALSO
29.Xr bcmp 3 ,
30.Xr memcmp 3 ,
31.\" .Xr setlocale 3 ,
32.Xr strcasecmp 3 ,
33.Xr strcmp 3 ,
34.Xr strcoll 3
35.Sh STANDARDS
36The
37.Fn strxfrm
38function
39conforms to
40.St -ansiC .
41