File: strnlen.3

package info (click to toggle)
manpages-fr 0.9.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,052 kB
  • ctags: 4
  • sloc: makefile: 58; sh: 8
file content (35 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download | duplicates (2)
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
.\" 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  "Juillet 25, 1999" "GNU" "Manuel du Programmeur Linux"
.SH NOM
strnlen \- dtermine la longueur d'une chane
.SH SYNOPSIS
.nf
.B #include <string.h>
.sp
.BI "size_t strnlen (const char *" s ", size_t " maxlen );
.fi
.SH DESCRIPTION
La fonction \fBstrnlen\fP renvoie le nombre de caractres de la chane pointe
par \fIs\fP (nom compris le caractre '\\0' terminal). Si la fin de la chane
n'est pas trouve aprs avoir scann \fImaxlen\fP, \fImaxlen\fP est retourn.
Les caractres suivants (\fIs+maxlen\fP) ne seront jamais lus.
.SH "VALEUR RENVOYE"
La fonction \fBstrnlen\fP renvoie \fIstrlen(s)\fP si la longeur est infrieure
 \fImaxlen\fP, sinon \fImaxlen\fP si le caractre '\\0' n'a pas t rencontr
dans les \fImaxlen\fP premiers caractres points par \fIs\fP.
.SH "CONFORME A"
Cette fonction est une extension GNU.
.SH "VOIR AUSSI"
.BR strlen (3)

.SH TRADUCTION
.RI "Thierry Vignaud <" tvignaud@mandrakesoft.com ">, 1999"