OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
set errno when fileno is called on a FILE with no underlying fd
[android-x86/external-musl-libc.git]
/
src
/
stdio
/
sprintf.c
1
#include <stdio.h>
2
#include <stdarg.h>
3
4
int sprintf(char *restrict s, const char *restrict fmt, ...)
5
{
6
int ret;
7
va_list ap;
8
va_start(ap, fmt);
9
ret = vsprintf(s, fmt, ap);
10
va_end(ap);
11
return ret;
12
}