Searched refs:errorCode (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libtksh/lib/tksh7.6/
H A Dinit.tcl41 set errorCode ""
66 global errorCode errorInfo
68 # Save the values of errorCode and errorInfo variables, since they
72 set savedErrorCode $errorCode
86 return -code $ret -errorcode $errorCode \
93 set errorCode $savedErrorCode
104 return -code error -errorcode $errorCode \
116 set errorCode $savedErrorCode
121 set errorCode $savedErrorCode
158 global auto_index auto_oldpath auto_path env errorInfo errorCode
[all...]
/ast/src/lib/libtk/generic/
H A DtkConsole.c44 char *buf, int toRead, int *errorCode));
46 char *buf, int toWrite, int *errorCode));
220 ConsoleOutput(instanceData, buf, toWrite, errorCode)
224 int *errorCode; /* Where to store error code. */
226 *errorCode = 0;
255 ConsoleInput(instanceData, buf, bufSize, errorCode)
260 int *errorCode; /* Where to store error code. */
H A DtkSend.c100 char *errorCode; /* Information for "errorCode" variable, member in struct:PendingCommand
179 * -e errorCode
181 * "ErrorCode" gives a string with with to initialize the errorCode
991 Tcl_SetVar2(interp, "errorCode", (char *) NULL,
992 Tcl_GetVar2(localInterp, "errorCode", (char *) NULL,
1073 pending.errorCode = NULL;
1125 if (pending.errorCode != NULL) {
1126 Tcl_SetVar2(interp, "errorCode", (char *) NULL, pending.errorCode,
1501 char *errorInfo, *errorCode, *resultString; local
[all...]
/ast/src/lib/libtksh/tcl/
H A DtclUnixChan.c107 char *buf, int toRead, int *errorCode));
110 int *errorCode));
114 long offset, int mode, int *errorCode));
126 char *buf, int toRead, int *errorCode));
129 int *errorCode));
145 char *buf, int toRead, int *errorCode));
147 char *buf, int toWrite, int *errorCode));
431 int fd, errorCode = 0;
446 errorCode = errno;
455 if ((close(fd) < 0) && (errorCode
427 int fd, errorCode = 0; local
800 int fd, errorCode, result; local
[all...]
H A DtclEvent.c190 char *errorCode; /* Value of the errorCode variable member in struct:BgError
1296 varValue = Tcl_GetVar(interp, "errorCode", TCL_GLOBAL_ONLY);
1300 errPtr->errorCode = (char *) ckalloc((unsigned) (strlen(varValue) + 1));
1301 strcpy(errPtr->errorCode, varValue);
1373 Tcl_SetVar(interp, "errorCode", assocPtr->firstBgPtr->errorCode,
1439 ckfree(assocPtr->firstBgPtr->errorCode);
1481 ckfree(errPtr->errorCode);
H A DtclCmdMZ.c644 if (iPtr->errorCode != NULL) {
645 ckfree(iPtr->errorCode);
646 iPtr->errorCode = NULL;
673 iPtr->errorCode = (char *) ckalloc((unsigned) (strlen(argv[1]) + 1));
674 strcpy(iPtr->errorCode, argv[1]);
/ast/src/lib/libtksh/include/
H A Dtksh.h81 char *errorCode; /* Value to store in errorCode if returnCode member in struct:Interp
226 * errorCode variable if an error is returned.
/ast/src/lib/libtksh/src/
H A Dbasic.c190 iPtr->errorCode = NULL;
581 if (iPtr->errorCode != NULL) {
582 ckfree(iPtr->errorCode);
583 iPtr->errorCode = NULL;
850 * If the errorCode variable wasn't set by the code that generated
855 (void) Tcl_SetVar2(interp, "errorCode", (char *) NULL, "NONE",
H A DtclIO.c362 Channel *chanPtr, int errorCode));
462 int l, written, errorCode; local
490 (void *) b, l, &errorCode);
499 if (errorCode == EINTR)
502 if ((errorCode == EWOULDBLOCK) || (errorCode == EAGAIN))
515 errorCode = 0;
531 int errorCode, written, tmpStatus; local
546 (void *) buf, size, &errorCode);
556 if (errorCode
2101 int errorCode; /* Stores POSIX error codes from local
[all...]
H A Dtcleval.c35 * such as iPtr->returnCode and iPtr->errorCode and modifies
43 * The errorInfo and errorCode variables may get modified.
58 Tcl_SetVar2((Tcl_Interp *) iPtr, "errorCode", (char *) NULL,
59 (iPtr->errorCode != NULL) ? iPtr->errorCode : "NONE",
H A Dtclproc.c354 Tcl_SetVar2(interp, "errorCode", (char *) NULL,
355 (iPtr->errorCode != NULL) ? iPtr->errorCode : "NONE",

Completed in 39 milliseconds