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

NOMBRE

       strcasecmp, strncasecmp - comparan dos cadenas ignorando si son mayúsculas o minúsculas

SINOPSIS

       #include <strings.h>

       int strcasecmp(const char *s1, const char *s2);

       int strncasecmp(const char *s1, const char *s2, size_t n);

DESCRIPCIÓN

       The strcasecmp()  function performs a byte-by-byte comparison of the strings s1 and s2, ignoring the case
       of  the  characters.   It  returns  an  integer less than, equal to, or greater than zero if s1 is found,
       respectively, to be less than, to match, or be greater than s2.

       The strncasecmp()  function is similar, except that it compares no more than n bytes of s1 and s2.

VALOR DEVUELTO

       The strcasecmp()  and strncasecmp()  functions return an integer less than, equal  to,  or  greater  than
       zero if s1 is, after ignoring case, found to be less than, to match, or be greater than s2, respectively.

ATRIBUTOS

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

CONFORME A

       4.4BSD, POSIX.1-2001, POSIX.1-2008.

NOTAS

       The  strcasecmp()   and  strncasecmp()   functions  first appeared in 4.4BSD, where they were declared in
       <string.h>.  Thus, for reasons of  historical  compatibility,  the  glibc  <string.h>  header  file  also
       declares  these  functions,  if the _DEFAULT_SOURCE (or, in glibc 2.19 and earlier, _BSD_SOURCE)  feature
       test macro is defined.

       The POSIX.1-2008 standard says of these functions:

              When the LC_CTYPE category of the locale being used is from  the  POSIX  locale,  these  functions
              shall  behave  as  if  the  strings  had  been  converted  to lowercase and then a byte comparison
              performed.  Otherwise, the results are unspecified.

VÉASE TAMBIÉN

       bcmp(3), memcmp(3), strcmp(3), strcoll(3), string(3), strncmp(3), wcscasecmp(3), wcsncasecmp(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 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.

                                               15 Septiembre 2017                                  STRCASECMP(3)