.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 19:32:25 1993 by Rik Faith (faith@cs.unc.edu) .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH gcvt 3 "20 julho 2023" "Linux man\-pages 6.05.01" .SH NOME gcvt \- converte numéricos de ponto flutuante para seqüencias de caracteres .SH BIBLIOTECA Biblioteca C Padrão (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSE .nf \fB#include \fP .PP \fBchar *gcvt(double \fP\fInumber\fP\fB, int \fP\fIndigit\fP\fB, char *\fP\fIbuf\fP\fB);\fP .fi .PP .RS -4 Requisitos de macro de teste de recursos para o glibc (consulte \fBfeature_test_macros\fP(7)): .RE .PP \fBgcvt\fP(): .nf .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED Since glibc 2.17 (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200809L)) || /* glibc >= 2.20 */ _DEFAULT_SOURCE || /* glibc <= 2.19 */ _SVID_SOURCE glibc 2.12 to glibc 2.16: (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200112L)) || _SVID_SOURCE Before glibc 2.12: _SVID_SOURCE || _XOPEN_SOURCE >= 500 .fi .SH DESCRIÇÃO The \fBgcvt\fP() function converts \fInumber\fP to a minimal length null\-terminated ASCII string and stores the result in \fIbuf\fP. It produces \fIndigit\fP significant digits in either \fBprintf\fP(3) F format or E format. .SH "VALOR DE RETORNO" The \fBgcvt\fP() function returns \fIbuf\fP. .SH ATRIBUTOS Para uma explicação dos termos usados nesta seção, consulte \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Atributo Valor T{ .na .nh \fBgcvt\fP() T} Thread safety MT\-Safe .TE .sp 1 .SH PADRÕES None. .SH HISTÓRICO Marked as LEGACY in POSIX.1\-2001. POSIX.1\-2008 removed it, recommending the use of \fBsprintf\fP(3) instead (though \fBsnprintf\fP(3) may be preferable). .SH "VEJA TAMBÉM" \fBecvt\fP(3), \fBfcvt\fP(3), \fBsprintf\fP(3) .PP .SH TRADUÇÃO A tradução para português brasileiro desta página man foi criada por Antonio Belloni e André Luiz Fassone . .PP Esta tradução é uma documentação livre; leia a .UR https://www.gnu.org/licenses/gpl-3.0.html Licença Pública Geral GNU Versão 3 .UE ou posterior para as condições de direitos autorais. Nenhuma responsabilidade é aceita. .PP Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para .MT debian-l10n-portuguese@lists.debian.org a lista de discussão de tradutores .ME .