dprintfのヘルプ・マニュアル
日本語 英語
dprintf --help
man dprintf
DPRINTF(3) Linux Programmer’s Manual DPRINTF(3)
名前
dprintf, vdprintf - ファイルディスクリプターに文字出力する
書式
#define _GNU_SOURCE
#include
int dprintf(int fd, const char *format, ...);
int vdprintf(int fd, const char *format, va_list ap);
説明
(glibc2 ライブラリにおける) dprintf() 関数と vdprintf() 関数とは、それ
ぞれ fprintf(3) 関数と vfprintf(3) 関数とにちょうど対応するが、これらは
stdio ストリームではなくファイルディスクリプター fd に対して出力を行う
。
準拠
これらの関数は GNU による拡張であり、現在では POSIX.1-2008 で規定されて
いる。
関連項目
printf(3), feature_test_macros(7)
GNU 2008-06-14 DPRINTF(3)
DPRINTF(3) Linux Programmer’s Manual DPRINTF(3)
NAME
dprintf, vdprintf - print to a file descriptor
SYNOPSIS
#define _GNU_SOURCE
#include
int dprintf(int fd, const char *format, ...);
int vdprintf(int fd, const char *format, va_list ap);
DESCRIPTION
The functions dprintf() and vdprintf() (as found in the glibc2 library)
are exact analogs of fprintf(3) and vfprintf(3), except that they out-
put to a file descriptor fd instead of to a stdio stream.
CONFORMING TO
These functions are GNU extensions that are nowadays specified in
POSIX.1-2008
SEE ALSO
printf(3), feature_test_macros(7)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU 2008-08-06 DPRINTF(3)