diff options
author | chris <chris@FreeBSD.org> | 2002-01-06 20:28:27 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2002-01-06 20:28:27 +0000 |
commit | 87f674949f5e978bac3c3b7edcde869681cbc1f6 (patch) | |
tree | fc06ad943c90fa453dd5e0b644173e5add2856d5 | |
parent | fa3ec6b20e0ab10b84428bd658d6e2e4b7c662b0 (diff) | |
download | FreeBSD-src-87f674949f5e978bac3c3b7edcde869681cbc1f6.zip FreeBSD-src-87f674949f5e978bac3c3b7edcde869681cbc1f6.tar.gz |
Minor doc nit: Replace contractions with their expanded forms.
Obtained from: NAI Labs CBOSS Project
Sponsored by: DARPA, NAI Labs
-rw-r--r-- | share/man/man7/sdoc.7 | 4 | ||||
-rw-r--r-- | share/man/man7/sec-doc.7 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man7/sdoc.7 b/share/man/man7/sdoc.7 index 1aeff4b..748b445 100644 --- a/share/man/man7/sdoc.7 +++ b/share/man/man7/sdoc.7 @@ -187,7 +187,7 @@ Instead, use .Fn strncpy and ensure that no more characters are copied to the destination buffer than it can hold. -Don't forget to NUL-terminate the destination buffer, +Do not forget to NUL-terminate the destination buffer, as .Fn strncpy will not terminate the destination string if it is truncated. @@ -210,7 +210,7 @@ foo(const char *arbitrary_string) #if defined(BAD) /* - * This first strcpy is bad behavior. Don't use strcpy()! + * This first strcpy is bad behavior. Do not use strcpy()! */ (void)strcpy(onstack, arbitrary_string); /* BAD! */ #elif defined(BETTER) diff --git a/share/man/man7/sec-doc.7 b/share/man/man7/sec-doc.7 index 1aeff4b..748b445 100644 --- a/share/man/man7/sec-doc.7 +++ b/share/man/man7/sec-doc.7 @@ -187,7 +187,7 @@ Instead, use .Fn strncpy and ensure that no more characters are copied to the destination buffer than it can hold. -Don't forget to NUL-terminate the destination buffer, +Do not forget to NUL-terminate the destination buffer, as .Fn strncpy will not terminate the destination string if it is truncated. @@ -210,7 +210,7 @@ foo(const char *arbitrary_string) #if defined(BAD) /* - * This first strcpy is bad behavior. Don't use strcpy()! + * This first strcpy is bad behavior. Do not use strcpy()! */ (void)strcpy(onstack, arbitrary_string); /* BAD! */ #elif defined(BETTER) |