OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / strxfrm.3
index 732cc07..47c96b0 100644 (file)
@@ -39,7 +39,9 @@ strxfrm \- string transformation
 .SH DESCRIPTION
 The
 .BR strxfrm ()
-function transforms the \fIsrc\fP string into a
+function transforms the
+.I src
+string into a
 form such that the result of
 .BR strcmp (3)
 on two strings that have
@@ -48,23 +50,37 @@ been transformed with
 is the same as the result of
 .BR strcoll (3)
 on the two strings before their transformation.
-The first \fIn\fP bytes of the transformed string are placed in
-\fIdest\fP.
+The first
+.I n
+bytes of the transformed string are placed in
+.IR dest .
 The transformation is based on the program's current
-locale for category \fBLC_COLLATE\fP.  (See
+locale for category
+.BR LC_COLLATE .
+(See
 .BR setlocale (3)).
 .SH RETURN VALUE
 The
 .BR strxfrm ()
 function returns the number of bytes required to
-store the transformed string in \fIdest\fP excluding the
+store the transformed string in
+.I dest
+excluding the
 terminating null byte (\(aq\\0\(aq).
-If the value returned is \fIn\fP or more, the
-contents of \fIdest\fP are indeterminate.
+If the value returned is
+.I n
+or more, the
+contents of
+.I dest
+are indeterminate.
 .SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99.
 .SH NOTES
-In the \fI"POSIX"\fP or \fI"C"\fP locales
+In the
+.IR POSIX
+or
+.IR C
+locales
 .BR strxfrm ()
 is equivalent to
 copying the string with
@@ -77,3 +93,12 @@ copying the string with
 .BR strcmp (3),
 .BR strcoll (3),
 .BR string (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.