vdprintf

Name

vdprintf -- write formatted output to a file descriptor

Synopsis

#include <stdio.h>

int vdprintf(int fd, const char * restrict format, va_list arg);

Description

The vdprintf() shall behave as vfprintf(), except that the first argument is a file descriptor rather than a STDIO stream.

Return Value

Refer to fprintf().

Errors

Refer to fprintf().