diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-03 11:47:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-03 11:47:04 (GMT) |
commit | 4643a1db2023125602aa96a5d0ea492857ff1722 (patch) | |
tree | dd56ea6e1018df82f9d727c7c894cea6d6b83102 /doc/AddErrInfo.3 | |
parent | 4a25523bd51f705a6a6aad227de13267caef05dc (diff) | |
parent | 272872375d23ecfbbf6d893473176aab97462a44 (diff) | |
download | tcl-4643a1db2023125602aa96a5d0ea492857ff1722.zip tcl-4643a1db2023125602aa96a5d0ea492857ff1722.tar.gz tcl-4643a1db2023125602aa96a5d0ea492857ff1722.tar.bz2 |
Use (char *)NULL as end sentinel in documentation (as Linux man-pages already do too, e.g. [https://linux.die.net/man/3/tcl_appendresult])
Diffstat (limited to 'doc/AddErrInfo.3')
-rw-r--r-- | doc/AddErrInfo.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/AddErrInfo.3 b/doc/AddErrInfo.3 index 05b20b8..2ed5eee 100644 --- a/doc/AddErrInfo.3 +++ b/doc/AddErrInfo.3 @@ -28,7 +28,7 @@ int .sp \fBTcl_SetObjErrorCode\fR(\fIinterp, errorObjPtr\fR) .sp -\fBTcl_SetErrorCode\fR(\fIinterp, element, element, ... \fBNULL\fR) +\fBTcl_SetErrorCode\fR(\fIinterp, element, element, ... \fB(char *)NULL\fR) .sp int \fBTcl_GetErrorLine\fR(\fIinterp\fR) @@ -67,7 +67,7 @@ If negative, all bytes up to the first null byte are used. The \fB\-errorcode\fR return option will be set to this value. .AP "const char" *element in String to record as one element of the \fB\-errorcode\fR return option. -Last \fIelement\fR argument must be NULL. +Last \fIelement\fR argument must be (char *)NULL. .AP int lineNum The line number of a script where an error occurred. .AP "const char" *script in |