SYNOPSIS
#include <string.h>
size_t strxfrm(char *s1, const char *s2, size_t n);
DESCRIPTION
The
If n is zero, then s1 may be null. In this case,
For the C locale,
strncpy(s1, s2, n); return strlen(s1);
PARAMETERS
- s1
-
Either NULL, or a pointer to a buffer to receive the transformed string.
- s2
-
Points to a null-terminated string to be transformed for collating.
- n
-
Is the maximum number of characters to transform.
RETURN VALUES
The
If
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
This function is MT-Safe as long as no thread calls
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
localeconv() ,setlocale() ,strcmp() ,strcoll()
MKS Toolkit 9.2 Documentation Build 16.