diff options
author | DJ Delorie <dj@delorie.com> | 2001-09-26 18:45:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2001-09-26 18:45:50 +0000 |
commit | bd7ce1bbb2ea47e045e6dd755cf16f05a2555309 (patch) | |
tree | 9fcc8e3e643152ed109636c5420b217c9d116002 /libiberty/strncmp.c | |
parent | 3d6b05970e5c5b951cf734883641e64090a3c370 (diff) | |
download | gdb-bd7ce1bbb2ea47e045e6dd755cf16f05a2555309.tar.gz |
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 b3b9de16b10..819cea6cb58 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> |