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() function shall behave as vfprintf(), except that vdprintf() shall write output to the file associated with the file descriptor specified by the fd argument, rather than place output on a stream (as defined by ISO POSIX (2003)).

Return Value

Refer to fprintf().

Errors

Refer to fprintf().