ecvt_r(3) Library Functions Manual ecvt_r(3) NOMBRE ecvt_r, fcvt_r, qecvt_r, qfcvt_r - convierten un numero en coma flotante a una cadena BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #include [[deprecated]] int ecvt_r(double number, int ndigits, int *restrict decpt, int *restrict sign, char *restrict buf, size_t size); [[deprecated]] int fcvt_r(double number, int ndigits, int *restrict decpt, int *restrict sign, char *restrict buf, size_t size); [[deprecated]] int qecvt_r(long double number, int ndigits, int *restrict decpt, int *restrict sign, char *restrict buf, size_t size); [[deprecated]] int qfcvt_r(long double number, int ndigits, int *restrict decpt, int *restrict sign, char *restrict buf, size_t size); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): ecvt_r(), fcvt_r(), qecvt_r(), qfcvt_r(): /* glibc >= 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE DESCRIPCION The functions ecvt_r(), fcvt_r(), qecvt_r(), and qfcvt_r() are identical to ecvt(3), fcvt(3), qecvt(3), and qfcvt(3), respectively, except that they do not return their result in a static buffer, but instead use the supplied buf of size size. See ecvt(3) and qecvt(3). VALOR DEVUELTO These functions return 0 on success, and -1 otherwise. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |ecvt_r(), fcvt_r(), | Seguridad del hilo | Multi-hilo seguro | |qecvt_r(), qfcvt_r() | | | +-----------------------------+--------------------+-------------------+ ESTANDARES GNU. NOTAS Estas funciones estan obsoletas. En su lugar se recomienda sprintf(3). VEASE TAMBIEN ecvt(3), qecvt(3), sprintf(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Miguel Perez Ibars Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de Manual de Linux 6.12 17 Noviembre 2024 ecvt_r(3)