#include #include #include int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) { int i = vsnprintf(buf, size, fmt, args); ssize_t ssize = size; return (i >= ssize) ? (ssize - 1) : i; } int scnprintf(char * buf, size_t size, const char * fmt, ...) { ssize_t ssize = size; va_list args; int i; va_start(args, fmt); i = vsnprintf(buf, size, fmt, args); va_end(args); return (i >= ssize) ? (ssize - 1) : i; } repository'/>
summaryrefslogtreecommitdiff
e387dc122fc7c70c2a5df2567f4e2d1114f5a5da&id2=11e3b725cfc282efe9d4a354153e99d86a16af08'>cfserl.c
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'net/caif/cfserl.c')