strxfrm.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
strxfrm.cThe libc implementation
Functions
strxfrmCopies the null terminated string s2 to s1, if s2 is not more than n bytes long

Functions

strxfrm

size_t strxfrm(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)

Copies the null terminated string s2 to s1, if s2 is not more than n bytes long

Returns the length of s2

size_t strxfrm(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)
Copies the null terminated string s2 to s1, if s2 is not more than n bytes long