shithub: riscv

ref: 1a55b8d1f0253b4d39b1972978b469a352f0f94b
dir: /sys/src/ape/lib/ap/stdio/printf.c/

View raw version
/*
 * pANS stdio -- printf
 */
#include "iolib.h"
int printf(const char *fmt, ...){
	int n;
	va_list args;
	va_start(args, fmt);
	n=vfprintf(stdout, fmt, args);
	va_end(args);
	return n;
}