cregit-Linux how code gets into the kernel

Release 4.14 tools/lib/vsprintf.c

Directory: tools/lib
// SPDX-License-Identifier: GPL-2.0
#include <sys/types.h>
#include <linux/kernel.h>
#include <stdio.h>


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; }

Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo54100.00%1100.00%
Total54100.00%1100.00%


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; }

Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo70100.00%1100.00%
Total70100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo13399.25%150.00%
Greg Kroah-Hartman10.75%150.00%
Total134100.00%2100.00%
Directory: tools/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.