comparison libiberty/strncmp.c @ 14:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children
comparison
equal deleted inserted replaced
13:65488c3d617d 14:f6334be47118
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