mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Improve help files
Minor improvement of various help files. Made format of help files more consistent.
This commit is contained in:
20
help/strncmp
20
help/strncmp
@@ -21,17 +21,15 @@ DESCRIPTION
|
||||
to, or less than min(n2, n); in particular, if n1 and n2 are
|
||||
both greater than equal to n, 0 is returned.
|
||||
|
||||
|
||||
EXAMPLE
|
||||
strncmp("abc", "xyz", 0) == 0
|
||||
strncmp("abc", "xyz", 1) == -1
|
||||
strncmp("abc", "", 1) == 1
|
||||
strncmp("a", "b", 2) == -1
|
||||
strncmp("ab", "ac", 2) == -1
|
||||
strncmp("\0ac", "\0b", 2) == -1
|
||||
strncmp("ab", "abc", 2) == 0
|
||||
strncmp("abc", "abd", 2) == 0
|
||||
|
||||
; strncmp("abc", "xyz", 0) == 0
|
||||
; strncmp("abc", "xyz", 1) == -1
|
||||
; strncmp("abc", "", 1) == 1
|
||||
; strncmp("a", "b", 2) == -1
|
||||
; strncmp("ab", "ac", 2) == -1
|
||||
; strncmp("\0ac", "\0b", 2) == -1
|
||||
; strncmp("ab", "abc", 2) == 0
|
||||
; strncmp("abc", "abd", 2) == 0
|
||||
|
||||
LIMITS
|
||||
none
|
||||
@@ -44,7 +42,7 @@ SEE ALSO
|
||||
strcat, strcpy, strerror, strlen, strncpy, strpos,
|
||||
strprintf, strscan, strscanf, substr
|
||||
|
||||
## Copyright (C) 2006 Ernest Bowen
|
||||
## Copyright (C) 2006,2021 Ernest Bowen
|
||||
##
|
||||
## Calc is open software; you can redistribute it and/or modify it under
|
||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||
|
Reference in New Issue
Block a user