Use consistent language for string termination (#806)
Avoid hyphen, prefer space: "null terminated"
This commit is contained in:
1 parent
f4ccf7bc8c
commit
2d8a6f91a9
16 files changed
+45
-45
No files matched your search
@@ -36,7 +36,7 @@ c) long macGetValue ( MAC_HANDLE *handle, char *name,
|
||||
char *value, long maxlen );
|
||||
|
||||
Returns up to maxlen characters of the value of macro "name". "value"
|
||||
will be zero-terminated if the length of the value is less than
|
||||
will be null terminated if the length of the value is less than
|
||||
maxlen. The function value will be the number of characters copied to
|
||||
"value" (see below for behavior if the macro is undefined). If maxlen
|
||||
is zero, no characters will be copied to "value" (which can be NULL)
|
||||
@@ -161,7 +161,7 @@ d) char *macEnvExpand( char *src );
|
||||
environment variables. It parses the string looking for such
|
||||
references and passes them to macGetValue() for translation. It uses
|
||||
malloc() to allocate space for the expanded string and returns a
|
||||
pointer to this null-terminated string. It returns NULL if the source
|
||||
pointer to this null terminated string. It returns NULL if the source
|
||||
string contains any undefined references.
|
||||
|
||||
e) char *macDefExpand( char *src, MAC_HANDLE *macros );
|
||||
|
||||
Reference in new issue
Block a user