Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/string/strxfrm.3
Show All 39 Lines | |||||
.Nd transform a string under locale | .Nd transform a string under locale | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In string.h | .In string.h | ||||
.Ft size_t | .Ft size_t | ||||
.Fn strxfrm "char * restrict dst" "const char * restrict src" "size_t n" | .Fn strxfrm "char * restrict dst" "const char * restrict src" "size_t n" | ||||
.Ft size_t | .Ft size_t | ||||
.Fn strxfrm_l "char * restrict dst" "const char *restrict src" "size_t n" "locale_t loc" | .Fn strxfrm_l "char * restrict dst" "const char * restrict src" "size_t n" "locale_t loc" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Fn strxfrm | .Fn strxfrm | ||||
function transforms a null-terminated string pointed to by | function transforms a null-terminated string pointed to by | ||||
.Fa src | .Fa src | ||||
according to the current locale collation if any, | according to the current locale collation if any, | ||||
then copies the transformed string | then copies the transformed string | ||||
into | into | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |