Penguin
Annotated edit history of strxfrm(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 STRXFRM
2 !!!STRXFRM
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 NOTES
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 strxfrm - string transformation
15 !!SYNOPSIS
16
17
18 __#include
19 __''dest''__, const char *__''src''__, size_t__ ''n''__);
20 __
21 !!DESCRIPTION
22
23
24 The __strxfrm()__ function transforms the ''src''
25 string into a form such that the result of __strcmp()__
26 on two strings that have been transformed with
27 __strxfrm()__ is the same as the result of
28 __strcoll()__ on the two strings before their
29 transformation. The first ''n'' characters of the
30 transformed string are placed in ''dest''. The
31 transformation is based on the program's current locale for
32 category ''LC_COLLATE''. (See
33 setlocale(3)).
34 !!RETURN VALUE
35
36
37 The __strxfrm()__ function returns the number of bytes
38 required to store the transformed string in ''dest''
39 excluding the terminating `0' character. If the value
40 returned is ''n'' or more, the contents of ''dest''
41 are indeterminate.
42 !!CONFORMING TO
43
44
45 SVID 3, BSD 4.3, ISO 9899
46 !!NOTES
47
48
49 In the '''' or ''''
50 locales __strxfrm()__ is equivalent to copying the string
51 with __strncpy()__.
52 !!SEE ALSO
53
54
55 bcmp(3), memcmp(3), strcasecmp(3),
56 strcmp(3), strcoll(3),
57 setlocale(3)
58 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.