Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
stdio
/
sprintf.c
blob: 9dff524c0925ed7a6903125cccbd4647b1bcf722 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdarg.h>
int
sprintf
(
char
*
restrict s
,
const
char
*
restrict fmt
,
...)
{
int
ret
;
va_list ap
;
va_start
(
ap
,
fmt
);
ret
=
vsprintf
(
s
,
fmt
,
ap
);
va_end
(
ap
);
return
ret
;
}