Provided by: manpages-pt-br-dev_4.18.1-1_all bug

NOME

       wcsnlen - determina o tamanho de uma string de caracteres largos de tamanho fixo

BIBLIOTECA

       Biblioteca C Padrão (libc, -lc)

SINOPSE

       #include <wchar.h>

       size_t wcsnlen(const wchar_t s[.maxlen], size_t maxlen);

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

       wcsnlen():
           Desde o glibc 2.10:
               _POSIX_C_SOURCE >= 200809L
           Antes do glibc 2.10:
               _GNU_SOURCE

DESCRIÇÃO

       The  wcsnlen()  function is the wide-character equivalent of the strnlen(3)  function.  It
       returns the number of wide-characters in the string pointed to by  s,  not  including  the
       terminating  null  wide  character (L'\0'), but at most maxlen wide characters (note: this
       parameter is not a byte count).  In doing this, wcsnlen()  looks at only the first  maxlen
       wide characters at s and never beyond s[maxlen-1].

VALOR DE RETORNO

       A  função wcsnlen() retorna wcslen(s), se esse é menor que maxlen, ou maxlen se não houver
       um caractere largo nul entre os primeiros maxlen caracteres largos apontados por s.

VERSÕES

       The wcsnlen()  function is provided since glibc 2.1.

ATRIBUTOS

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

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

PADRÕES

       POSIX.1-2008.

VEJA TAMBÉM

       strnlen(3), wcslen(3)

TRADUÇÃO

       A tradução para português brasileiro desta página man foi criada por Marcelo  D.  Beckmann
       <marcelobeckmann@yahoo.com>,   André   Luiz   Fassone   <lonely_wolf@ig.com.br>  e  Rafael
       Fontenelle <rafaelff@gnome.org>.

       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⟩.