#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; } ad>
summaryrefslogtreecommitdiff
it/log/sound/soc/codecs/max9877.c?id=74470954857c264168d2b5a113904cf0cfd27d18&showmsg=1'>Expand)
AgeCommit message (Collapse)AuthorFilesLines
AuthorFilesLines