aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:02:42 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:02:42 +0200
commitdf9a742bd1404327432e60607842edd1ebd72184 (patch)
treef8cadf084890699b797817e335b7915f718a1db4 /gawkapi.h
parentdad49da0e8e738ad9380379571e5771704c50dc1 (diff)
parentc2448a50be949f5df2da4f7a1baf58358b297970 (diff)
downloadegawk-df9a742bd1404327432e60607842edd1ebd72184.tar.gz
egawk-df9a742bd1404327432e60607842edd1ebd72184.tar.bz2
egawk-df9a742bd1404327432e60607842edd1ebd72184.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'gawkapi.h')
-rw-r--r--gawkapi.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gawkapi.h b/gawkapi.h
index 7482af51..1c884741 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -279,11 +279,7 @@ enum {
* be multibyte encoded in the current locale's encoding and character
* set. Gawk will convert internally to wide characters if necessary.
*
- * Note that the string may not be terminated with a '\0' character.
- * In particular, this happens for field values $n where n > 0 and n < NF,
- * since the string points directly into the $0 buffer. All other strings,
- * including those created by extensions, should be NUL-terminated. In general
- * though, extension code should not assume that the string is NUL-terminated!
+ * Note that the string will always be terminated with a '\0' character.
*/
typedef struct awk_string {
char *str; /* data */