ref: 2b40407e8c45d3a183bb04748f16f6589c68b0fc dir: /sys/src/libc/fmt/fprint.c/
#include <u.h> #include <libc.h> int fprint(int fd, char *fmt, ...) { int n; va_list args; va_start(args, fmt); n = vfprint(fd, fmt, args); va_end(args); return n; }