DIPRINTF(3) NEWLIB DIPRINTF(3)NAME
4.2 `diprintf', `vdiprintf'--print to a file descriptor (integer only)
SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int diprintf(int FD, const char *FORMAT, ...);
int vdiprintf(int FD, const char *FORMAT, va_list AP);
int _diprintf_r(struct _reent *PTR, int FD,
const char *FORMAT, ...);
int _vdiprintf_r(struct _reent *PTR, int FD,
const char *FORMAT, va_list AP);
DESCRIPTION
`diprintf' and `vdiprintf' are similar to `dprintf' and `vdprintf',
except that only integer format specifiers are processed.
The functions `_diprintf_r' and `_vdiprintf_r' are simply reentrant
versions of the functions above.
RETURNS
Similar to `dprintf' and `vdprintf'.
PORTABILITY
This set of functions is an integer-only extension, and is not porta‐
ble.
Supporting OS subroutines required: `sbrk', `write'.
SEE ALSOdiprintf is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 DIPRINTF(3)