diff options
author | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
commit | 39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch) | |
tree | b437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/strncmp.c | |
parent | 4e6667ac4f987fecbcf576513c70485a4718712e (diff) | |
download | gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/strncmp.c')
-rw-r--r-- | libiberty/strncmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/strncmp.c b/libiberty/strncmp.c index b3b9de1..819cea6 100644 --- a/libiberty/strncmp.c +++ b/libiberty/strncmp.c @@ -1,6 +1,17 @@ /* strncmp -- compare two strings, stop after n bytes. This function is in the public domain. */ +/* + +@deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n}) + +Compares the first @var{n} bytes of two strings, returning a value as +@code{strcmp}. + +@end deftypefn + +*/ + #include <ansidecl.h> #ifdef __STDC__ #include <stddef.h> |