Mercurial > hg > CbC > CbC_gcc
comparison libiberty/strncmp.c @ 69:1b10fe6932e1
merge 69
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 21 Aug 2011 07:53:12 +0900 |
parents | f6334be47118 |
children |
comparison
equal
deleted
inserted
replaced
66:b362627d71ba | 69:1b10fe6932e1 |
---|---|
1 /* strncmp -- compare two strings, stop after n bytes. | 1 /* strncmp -- compare two strings, stop after n bytes. |
2 This function is in the public domain. */ | 2 This function is in the public domain. */ |
3 | 3 |
4 /* | 4 /* |
5 | 5 |
6 @deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n}) | 6 @deftypefn Supplemental int strncmp (const char *@var{s1}, @ |
7 const char *@var{s2}, size_t @var{n}) | |
7 | 8 |
8 Compares the first @var{n} bytes of two strings, returning a value as | 9 Compares the first @var{n} bytes of two strings, returning a value as |
9 @code{strcmp}. | 10 @code{strcmp}. |
10 | 11 |
11 @end deftypefn | 12 @end deftypefn |