diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1999-06-11 16:16:32 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1999-06-11 16:16:32 +0000 |
| commit | fa91ff279711176b913fd9a926b27645d41c7682 (patch) | |
| tree | 9ade1ebd0df7acc295fc465658aa1361e35561c0 /lib/libc/string | |
| parent | ad227d8bcc4c156436492c976e640765057163aa (diff) | |
Notes
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/strcmp.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3 index 08e6c0335dd0..d84b900453e6 100644 --- a/lib/libc/string/strcmp.3 +++ b/lib/libc/string/strcmp.3 @@ -58,6 +58,12 @@ lexicographically compare the null-terminated strings .Fa s1 and .Fa s2 . +.Pp +The +.Fn strncmp +compares not more than +.Fa len +characters. .Sh RETURN VALUES The .Fn strcmp @@ -72,12 +78,6 @@ The comparison is done using unsigned characters, so that .Ql \e200 is greater than .Ql \e0 . -.Pp -The -.Fn strncmp -compares not more than -.Fa len -characters. .Sh SEE ALSO .Xr bcmp 3 , .Xr memcmp 3 , |
