ecvt(3) Library Functions Manual ecvt(3) ecvt, fcvt - (libc -lc) #include [[deprecated]] char *ecvt(double number, int ndigits, int *restrict decpt, int *restrict sign); [[deprecated]] char *fcvt(double number, int ndigits, int *restrict decpt, int *restrict sign); glibc ( feature_test_macros(7)): ecvt() fcvt(): glibc 2.17 (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200809L)) || /* glibc >= 2.20 */ _DEFAULT_SOURCE || /* glibc <= 2.19 */ _SVID_SOURCE glibc 2.12 glibc 2.16: (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200112L)) || _SVID_SOURCE glibc 2.12: _SVID_SOURCE || _XOPEN_SOURCE >= 500 ecvt() _ ( _ double) . . . *_. *_ . * 0. *_ 0 1. fcvt() ecvt() _ . ecvt() fcvt() ASCII . ecvt() fcvt(). attributes(7). +-----------+------------------------------------+---------------------+ || | | +-----------+------------------------------------+---------------------+ |ecvt() | | MT-Unsafe race:ecvt | +-----------+------------------------------------+---------------------+ |fcvt() | | MT-Unsafe race:fcvt | +-----------+------------------------------------+---------------------+ . SVr2 LEGACY POSIX.1-2001. POSIX.1-2008 ecvt() fcvt() sprintf(3) ( snprintf(3) ). (" "). ecvt_r(3) gcvt(3) qecvt(3) setlocale(3) sprintf(3) 3 . . : . 6.18 8 2026 ecvt(3)