strxfrm - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# strxfrm

From cppreference.com
< c‎ | string‎ | byte

Defined in header `<string.h>` |  |
size_t strxfrm( const char *dest, const char *src, size_t count ); |  | (until C99)
size_t strxfrm( const char *restrict dest, const char *restrict src, size_t count ); |  | (since C99)

Transforms the null-terminated byte string pointed to by `src` according to the current locale and copies the first `count` characters of the transformed string to destination, returning its length. Alternativelly, the function can be used to only retrieve the length, by specifying a null pointer for `dest` and ​0​ for `count`.

### [edit] Parameters

dest | - | pointer to the byte string to copy the transformed string to
src | - | pointer to the null-terminated byte string to transform
count | - | maximum number of characters to transform

### [edit] Return value

The length of the transformed string, not including the terminating null-character.

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

C++ documentation for strxfrm

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/string/byte/strxfrm&oldid=62626"
Category:

- Todo no example