Provided by: manpages-pt-br-dev_4.15.0-9_all bug

NOME

       gcvt - converte numéricos de ponto flutuante para seqüencias de caracteres

SINOPSE

       #include <stdlib.h>

       char *gcvt(double number, int ndigit, char *buf);

   Requisitos de macro de teste de recursos para o glibc (consulte feature_test_macros(7)):

       gcvt():
           Since glibc 2.17
               (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200809L))
                   || /* Glibc >= 2.20 */ _DEFAULT_SOURCE
                   || /* Glibc <= 2.19 */ _SVID_SOURCE
           Glibc versions 2.12 to 2.16:
               (_XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200112L))
                   || _SVID_SOURCE
           Before glibc 2.12:
               _SVID_SOURCE || _XOPEN_SOURCE >= 500

DESCRIÇÃO

       The  gcvt()  function converts number to a minimal length null-terminated ASCII string and
       stores the result in buf.  It produces ndigit significant digits in  either  printf(3)   F
       format or E format.

VALOR DE RETORNO

       The gcvt()  function returns buf.

ATRIBUTOS

       Para uma explicação dos termos usados nesta seção, consulte attributes(7).

       ┌───────────────────────────────────────────────────────────────┬───────────────┬─────────┐
       │InterfaceAtributoValor   │
       ├───────────────────────────────────────────────────────────────┼───────────────┼─────────┤
       │gcvt()                                                         │ Thread safety │ MT-Safe │
       └───────────────────────────────────────────────────────────────┴───────────────┴─────────┘

DE ACORDO COM

       Marked  as  LEGACY  in  POSIX.1-2001.   POSIX.1-2008  removes the specification of gcvt(),
       recommending the use of sprintf(3)  instead (though snprintf(3)  may be preferable).

VEJA TAMBÉM

       ecvt(3), fcvt(3), sprintf(3)

COLOFÃO

       Esta página faz parte da versão 5.13 do projeto Linux man-pages. Uma descrição do projeto,
       informações  sobre  relatórios  de  bugs  e  a  versão mais recente desta página podem ser
       encontradas em https://www.kernel.org/doc/man-pages/.

TRADUÇÃO

       A tradução para português brasileiro desta página  man  foi  criada  por  Antonio  Belloni
       <abelloni@ig.com.br> e André Luiz Fassone <lonely_wolf@ig.com.br>

       Esta  tradução  é  uma  documentação  livre;  leia  a  Licença  Pública Geral GNU Versão 3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ ou posterior para  as  condições  de  direitos
       autorais.  Nenhuma responsabilidade é aceita.

       Se  você  encontrar  algum erro na tradução desta página de manual, envie um e-mail para a
       lista de discussão de tradutores ⟨debian-l10n-portuguese@lists.debian.org⟩.

                                          22 março 2021                                   GCVT(3)