Item | Value |
Header file | string.h |
Declaration | size_t strxfrm(char *str1, const char *str2, size_t count); |
Return | returns the length of the transformed string. |
The strxfrm() function transforms the string pointed to by str2. Not more than count characters are written to the array pointed to by str1.
#include <string.h> #include <stdio.h> int main(void) { char *s1 = "asdfasdfasdf"; char *s2 = "asdfasdfasdf"; strxfrm(s1, s2, 10); }
24.22.strxfrm | ||||
24.22.1. | strxfrm |