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
|
.\" 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
.\"
.\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
.\" all rights reserved.
.\" Translated Tue Jan 11 00:55:48 JST 2000
.\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\"
.TH STRNLEN 3 "July 25, 1999" "GNU" "Linux Programmer's Manual"
.SH ̾
strnlen \- ĹʸĹĴ٤
.SH
.nf
.B #include <string.h>
.sp
.BI "size_t strnlen(const char *" s ", size_t " maxlen );
.fi
.SH
\fBstrnlen\fP ؿ \fIs\fP ؤʸĹХȿ֤
ĹˤϽü '\\0' ʸޤޤʤ
ޤĹϺ \fImaxlen\fP ޤǤǤꡢ
\fBstrnlen\fP \fIs\fP κǽ \fImaxlen\fP ХȤΤߤ
\fIs+maxlen\fP 뤳ȤϤʤ
.SH ֤
\fBstrnlen\fP ؿ \fImaxlen\fP ʲʤ \fIstrlen(s)\fP Ʊ
֤ͤ\fIs\fP λؤʸ \fImaxlen\fP ХȤޤǤ '\\0'
ʸޤޤʤˤ \fImaxlen\fP ֤
.SH
δؿ GNU γĥǤ롣
.SH Ϣ
.BR strlen (3)
|