diff options
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> |