File: strnlen.3

package info (click to toggle)
manpages-pt 20040726-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,988 kB
  • sloc: sh: 45; makefile: 16
file content (30 lines) | stat: -rw-r--r-- 1,256 bytes parent folder | download | duplicates (6)
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
.\" 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
.\"
.TH STRNLEN 3  "25 de Julho de 1999" "GNU" "Manual do Programador Linux"
.SH NOME
strnlen \- determina o tamanho de uma cadeia de caracteres de tamanho fixo
.SH SINOPSE
.nf
.B #include <string.h>
.sp
.BI "size_t strnlen (const char *" s ", size_t " maxlen );
.fi
.SH DESCRIO
A funo \fBstrnlen\fP devolve o numero de caracteres na cadeia de caracteres apontado pelo \fIs\fP, sem incluir
o caractere de terminao '\\0', mas no mximo \fImaxlen\fP. Em fazendo isto, \fBstrnlen\fP somente v o primeiro
caractere \fImaxlen\fP em \fIs\fP e nunca alm \fIs+maxlen\fP.
.SH "VALORES DE RETORNO"
A funo \fBstrnlen\fP devolve \fIstrlen(s)\fP, se aquele  menor que \fImaxlen\fP, ou \fImaxlen\fP se no havia o
caractere '\\0' entre o primeiro caractere \fImaxlen\fP apontado por \fIs\fP.
.SH "DE ACORDO COM"
Esta funo  um extenso GNU.
.SH "VEJA TAMBM"
.BR strlen (3)