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:
14
help/strncpy
14
help/strncpy
@@ -21,13 +21,13 @@ DESCRIPTION
|
||||
new value.
|
||||
|
||||
EXAMPLE
|
||||
strncpy("abcdef", "xyz", 0) == "abcdef"
|
||||
strncpy("abcdef", "xyz", 1) == "xbcdef"
|
||||
strncpy("abcdef", "xyz", 2) == "xycdef"
|
||||
strncpy("abcdef", "xyz", 3) == "xyzdef"
|
||||
strncpy("abcdef", "xyz", 4) == "xyz\0ef"
|
||||
strncpy("abcdef", "xyz", 5) == "xyz\0\0f"
|
||||
strncpy("ab", "xyz", 3) == "xy"
|
||||
; strncpy("abcdef", "xyz", 0) == "abcdef"
|
||||
; strncpy("abcdef", "xyz", 1) == "xbcdef"
|
||||
; strncpy("abcdef", "xyz", 2) == "xycdef"
|
||||
; strncpy("abcdef", "xyz", 3) == "xyzdef"
|
||||
; strncpy("abcdef", "xyz", 4) == "xyz\0ef"
|
||||
; strncpy("abcdef", "xyz", 5) == "xyz\0\0f"
|
||||
; strncpy("ab", "xyz", 3) == "xy"
|
||||
|
||||
LIMITS
|
||||
none
|
||||
|
Reference in New Issue
Block a user