Provided by: manpages-es-dev_4.27.0-1_all bug

NOMBRE

       strlen - calcula la longitud de una cadena de caracteres

BIBLIOTECA

       Biblioteca Estándar C (libc, -lc)

SINOPSIS

       #include <string.h>

       size_t strlen(const char *s);

DESCRIPCIÓN

       The  strlen()   function  calculates  the length of the string pointed to by s, excluding the terminating
       null byte ('\0').

VALOR DEVUELTO

       The strlen()  function returns the number of bytes in the string pointed to by s.

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).
       ┌──────────────────────────────────────────────────────────────┬────────────────────┬───────────────────┐
       │ InterfazAtributoValor             │
       ├──────────────────────────────────────────────────────────────┼────────────────────┼───────────────────┤
       │ strlen()                                                     │ Seguridad del hilo │ Multi-hilo seguro │
       └──────────────────────────────────────────────────────────────┴────────────────────┴───────────────────┘

ESTÁNDARES

       C11, POSIX.1-2008.

HISTORIAL

       POSIX.1-2001, C89, SVr4, 4.3BSD.

NOTAS

       In cases where the input buffer may not contain a terminating  null  byte,  strnlen(3)   should  be  used
       instead.

VÉASE TAMBIÉN

       string(3), strnlen(3), wcslen(3), wcsnlen(3)

TRADUCCIÓN

       La  traducción  al  español  de  esta  página  del  manual  fue  creada  por  Gerardo  Aburruzaga  García
       <gerardo.aburruzaga@uca.es>

       Esta traducción es documentación libre;  lea  la  GNU General Public License Version 3  o  posterior  con
       respecto a las condiciones de copyright.  No existe NINGUNA RESPONSABILIDAD.

       Si  encuentra  algún  error  en  la  traducción  de esta página del manual, envíe un correo electrónico a
       debian-l10n-spanish@lists.debian.org.

Páginas de Manual de Linux 6.9.1                  15 Junio 2024                                        strlen(3)