Lines Matching refs:src
32 size_t strpcpy(char **dest, size_t size, const char *src) {
35 len = strlen(src);
38 *dest = mempcpy(*dest, src, size-1);
42 *dest = mempcpy(*dest, src, len);
50 size_t strpcpyf(char **dest, size_t size, const char *src, ...) {
54 va_start(va, src);
55 i = vsnprintf(*dest, size, src, va);
68 size_t strpcpyl(char **dest, size_t size, const char *src, ...) {
71 va_start(va, src);
73 size = strpcpy(dest, size, src);
74 src = va_arg(va, char *);
75 } while (src != NULL);
80 size_t strscpy(char *dest, size_t size, const char *src) {
84 return strpcpy(&s, size, src);
87 size_t strscpyl(char *dest, size_t size, const char *src, ...) {
91 va_start(va, src);
94 size = strpcpy(&s, size, src);
95 src = va_arg(va, char *);
96 } while (src != NULL);