#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; } next.git Git repository'/>
summaryrefslogtreecommitdiff
/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ehci-ps3.c?h=nds-private-remove&id=9b8e1056dbad7ea3f1bcd3db0ea7cf6682d077b1'>ehci-ps3.c
AgeCommit message (Expand)AuthorFilesLines
AgeCommit message (Expand)AuthorFilesLines