Provided by: manpages-es-dev_4.13-4_all bug

NOMBRE

       strspn, strcspn - get length of a prefix substring

SINOPSIS

       #include <string.h>

       size_t strspn(const char *s, const char *acepta);

       size_t strcspn(const char *s, const char *rechaza);

DESCRIPCIÓN

       The  strspn()  function calculates the length (in bytes) of the initial segment of s which
       consists entirely of bytes in accept.

       The strcspn()  function calculates the length of the initial segment of s  which  consists
       entirely of bytes not in reject.

VALOR DEVUELTO

       The  strspn()   function  returns  the  number  of bytes in the initial segment of s which
       consist only of bytes from accept.

       The strcspn()  function returns the number of bytes in the initial segment of s which  are
       not in the string reject.

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).

       ┌────────────────────┬────────────────────┬───────────────────┐
       │InterfazAtributoValor             │
       ├────────────────────┼────────────────────┼───────────────────┤
       │strspn(), strcspn() │ Seguridad del hilo │ Multi-hilo seguro │
       └────────────────────┴────────────────────┴───────────────────┘

CONFORME A

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

VÉASE TAMBIÉN

       index(3),  memchr(3),  rindex(3),  strchr(3), string(3), strpbrk(3), strsep(3), strstr(3),
       strtok(3), wcscspn(3), wcsspn(3)

COLOFÓN

       Esta página es parte de la versión 5.10 del proyecto Linux man-pages. Puede encontrar  una
       descripción  del  proyecto, información sobre cómo informar errores y la última versión de
       esta página en https://www.kernel.org/doc/man-pages/.

TRADUCCIÓN

       La traducción al español de esta página del manual  fue  creada  por  Miguel  Pérez  Ibars
       <mpi79470@alu.um.es>

       Esta  traducción  es  documentación  libre;  lea  la  GNU General Public License Version 3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ 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 ⟨⟩.

                                          8 Agosto 2015                                 STRSPN(3)