File: wmemcmp.3

package info (click to toggle)
manpages-es 1.55-9
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,468 kB
  • ctags: 6
  • sloc: sh: 1,629; makefile: 64
file content (39 lines) | stat: -rw-r--r-- 1,655 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" References consulted:
.\"   GNU glibc-2 source code and manual
.\"   Dinkumware C library reference http://www.dinkumware.com/
.\"   OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\"
.\" Translated on Wed Aug  2 2000 by Juan Piernas <piernas@ditec.um.es>
.\"
.TH WMEMCMP 3  "25 julio 1999" "GNU" "Manual del Programador de Linux"
.SH NOMBRE
wmemcmp \- compara dos vectores de caracteres anchos
.SH SINOPSIS
.nf
.B #include <wchar.h>
.sp
.BI "int wmemcmp (const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
.fi
.SH DESCRIPCIÓN
La función \fBwmemcmp\fP es equivalente para caracteres anchos a la función
\fBmemcmp\fP. Compara los \fIn\fP primeros caracteres anchos de \fIs1\fP
y los \fIn\fP primeros caracteres anchos de \fIs2\fP.
.SH "VALOR DEVUELTO"
La función \fBwmemcmp\fP devuelve cero si los arrays
\fIs1\fP y \fIs2\fP de \fIn\fP caracteres anchos son iguales. Devuelve un
entero mayor que 0 si en la primera posición distinta
\fIi\fP (\fIi\fP < \fIn\fP), el correpondiente carácter ancho \fIs1[i]\fP es
mayor que \fIs2[i]\fP. Devuelve un entero menor que 0 si en la primera
posición distinta \fIi\fP (\fIi\fP < \fIn\fP), el carácter ancho
correspondiente \fIs1[i]\fP es menor que \fIs2[i]\fP.
.SH "CONFORME A"
ISO/ANSI C, UNIX98
.SH "VÉASE TAMBIÉN"
.BR memcmp "(3), " wcscmp (3)