qecvt

Section: C Library Functions (3)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

qecvt, qfcvt, qgcvt - 浮動小数点数の文字列への変換  

ライブラリ

標準 C ライブラリ (libc,~-lc)  

書式

#include <stdlib.h>

[[deprecated]] char *qecvt(long double number, int ndigits,
                           int *restrict decpt, int *restrict sign);
[[deprecated]] char *qfcvt(long double number, int ndigits,
                           int *restrict decpt, int *restrict sign);
[[deprecated]] char *qgcvt(long double number, int ndigit, char *buf);

glibc 向けの機能検査マクロの要件 (feature_test_macros(7) 参照):

qecvt(), qfcvt(), qgcvt():

    Since glibc 2.19:
        _DEFAULT_SOURCE
    In glibc up to and including 2.19:
        _SVID_SOURCE
 

説明

関数 qecvt(), qfcvt(), qgcvt() は、それぞれ ecvt(3), fcvt(3), gcvt(3) と同じである。 引数 number が long double 型である点だけが異なる。  

属性

この節で使用されている用語の説明については、 attributes(7) を参照。
インターフェース属性値
qecvt() Thread safetyMT-Unsafe race:qecvt
qfcvt() Thread safetyMT-Unsafe race:qfcvt
qgcvt() Thread safetyMT-Safe
 

標準規格

なし。  

歴史

SVr4, SunOS, GNU.

これらの関数は廃止された。代わりに snprintf(3) の使用を推奨する。  

関連項目

ecvt(3), ecvt_r(3), gcvt(3), sprintf(3)


 

Index

名前
ライブラリ
書式
説明
属性
標準規格
歴史
関連項目

This document was created by man2html, using the manual pages.