SysTutorials Posts

  • |

    Tcl_FSConvertToPathType (3) Linux Manual Page

    Tcl_FSRegister, Tcl_FSUnregister, Tcl_FSData, Tcl_FSMountsChanged, Tcl_FSGetFileSystemForPath, Tcl_FSGetPathType, Tcl_FSCopyFile, Tcl_FSCopyDirectory, Tcl_FSCreateDirectory, Tcl_FSDeleteFile, Tcl_FSRemoveDirectory, Tcl_FSRenameFile, Tcl_FSListVolumes, Tcl_FSEvalFile, Tcl_FSEvalFileEx, Tcl_FSLoadFile, Tcl_FSMatchInDirectory, Tcl_FSLink, Tcl_FSLstat, Tcl_FSUtime, Tcl_FSFileAttrsGet, Tcl_FSFileAttrsSet, Tcl_FSFileAttrStrings, Tcl_FSStat, Tcl_FSAccess, Tcl_FSOpenFileChannel, Tcl_FSGetCwd, Tcl_FSChdir, Tcl_FSPathSeparator, Tcl_FSJoinPath, Tcl_FSSplitPath, Tcl_FSEqualPaths, Tcl_FSGetNormalizedPath, Tcl_FSJoinToPath, Tcl_FSConvertToPathType, Tcl_FSGetInternalRep, Tcl_FSGetTranslatedPath, Tcl_FSGetTranslatedStringPath, Tcl_FSNewNativePath, Tcl_FSGetNativePath, Tcl_FSFileSystemInfo, Tcl_AllocStatBuf – procedures to interact with any filesystem Synopsis #include <tcl.h> int Tcl_FSRegister(clientData, fsPtr)…

  • |

    Tcl_FSChdir (3) Linux Manual Page

    Tcl_FSRegister, Tcl_FSUnregister, Tcl_FSData, Tcl_FSMountsChanged, Tcl_FSGetFileSystemForPath, Tcl_FSGetPathType, Tcl_FSCopyFile, Tcl_FSCopyDirectory, Tcl_FSCreateDirectory, Tcl_FSDeleteFile, Tcl_FSRemoveDirectory, Tcl_FSRenameFile, Tcl_FSListVolumes, Tcl_FSEvalFile, Tcl_FSEvalFileEx, Tcl_FSLoadFile, Tcl_FSMatchInDirectory, Tcl_FSLink, Tcl_FSLstat, Tcl_FSUtime, Tcl_FSFileAttrsGet, Tcl_FSFileAttrsSet, Tcl_FSFileAttrStrings, Tcl_FSStat, Tcl_FSAccess, Tcl_FSOpenFileChannel, Tcl_FSGetCwd, Tcl_FSChdir, Tcl_FSPathSeparator, Tcl_FSJoinPath, Tcl_FSSplitPath, Tcl_FSEqualPaths, Tcl_FSGetNormalizedPath, Tcl_FSJoinToPath, Tcl_FSConvertToPathType, Tcl_FSGetInternalRep, Tcl_FSGetTranslatedPath, Tcl_FSGetTranslatedStringPath, Tcl_FSNewNativePath, Tcl_FSGetNativePath, Tcl_FSFileSystemInfo, Tcl_AllocStatBuf – procedures to interact with any filesystem Synopsis #include <tcl.h> int Tcl_FSRegister(clientData, fsPtr)…

  • |

    Tcl_FSAccess (3) Linux Manual Page

    Tcl_FSRegister, Tcl_FSUnregister, Tcl_FSData, Tcl_FSMountsChanged, Tcl_FSGetFileSystemForPath, Tcl_FSGetPathType, Tcl_FSCopyFile, Tcl_FSCopyDirectory, Tcl_FSCreateDirectory, Tcl_FSDeleteFile, Tcl_FSRemoveDirectory, Tcl_FSRenameFile, Tcl_FSListVolumes, Tcl_FSEvalFile, Tcl_FSEvalFileEx, Tcl_FSLoadFile, Tcl_FSMatchInDirectory, Tcl_FSLink, Tcl_FSLstat, Tcl_FSUtime, Tcl_FSFileAttrsGet, Tcl_FSFileAttrsSet, Tcl_FSFileAttrStrings, Tcl_FSStat, Tcl_FSAccess, Tcl_FSOpenFileChannel, Tcl_FSGetCwd, Tcl_FSChdir, Tcl_FSPathSeparator, Tcl_FSJoinPath, Tcl_FSSplitPath, Tcl_FSEqualPaths, Tcl_FSGetNormalizedPath, Tcl_FSJoinToPath, Tcl_FSConvertToPathType, Tcl_FSGetInternalRep, Tcl_FSGetTranslatedPath, Tcl_FSGetTranslatedStringPath, Tcl_FSNewNativePath, Tcl_FSGetNativePath, Tcl_FSFileSystemInfo, Tcl_AllocStatBuf – procedures to interact with any filesystem Synopsis #include <tcl.h> int Tcl_FSRegister(clientData, fsPtr)…

  • |

    Tcl_ExternalToUtfDString (3) Linux Manual Page

    Tcl_GetEncoding, Tcl_FreeEncoding, Tcl_GetEncodingFromObj, Tcl_ExternalToUtfDString, Tcl_ExternalToUtf, Tcl_UtfToExternalDString, Tcl_UtfToExternal, Tcl_WinTCharToUtf, Tcl_WinUtfToTChar, Tcl_GetEncodingName, Tcl_SetSystemEncoding, Tcl_GetEncodingNameFromEnvironment, Tcl_GetEncodingNames, Tcl_CreateEncoding, Tcl_GetEncodingSearchPath, Tcl_SetEncodingSearchPath, Tcl_GetDefaultEncodingDir, Tcl_SetDefaultEncodingDir – procedures for creating and using encodings Synopsis #include <tcl.h> Tcl_Encoding Tcl_GetEncoding(interp, name) void Tcl_FreeEncoding(encoding) int Tcl_GetEncodingFromObj(interp, objPtr, encodingPtr) char * Tcl_ExternalToUtfDString(encoding, src, srcLen, dstPtr) char * Tcl_UtfToExternalDString(encoding, src, srcLen, dstPtr) int Tcl_ExternalToUtf(interp, encoding, src, srcLen, flags,…

  • |

    Tcl_ExternalToUtf (3) Linux Manual Page

    Tcl_GetEncoding, Tcl_FreeEncoding, Tcl_GetEncodingFromObj, Tcl_ExternalToUtfDString, Tcl_ExternalToUtf, Tcl_UtfToExternalDString, Tcl_UtfToExternal, Tcl_WinTCharToUtf, Tcl_WinUtfToTChar, Tcl_GetEncodingName, Tcl_SetSystemEncoding, Tcl_GetEncodingNameFromEnvironment, Tcl_GetEncodingNames, Tcl_CreateEncoding, Tcl_GetEncodingSearchPath, Tcl_SetEncodingSearchPath, Tcl_GetDefaultEncodingDir, Tcl_SetDefaultEncodingDir – procedures for creating and using encodings Synopsis #include <tcl.h> Tcl_Encoding Tcl_GetEncoding(interp, name) void Tcl_FreeEncoding(encoding) int Tcl_GetEncodingFromObj(interp, objPtr, encodingPtr) char * Tcl_ExternalToUtfDString(encoding, src, srcLen, dstPtr) char * Tcl_UtfToExternalDString(encoding, src, srcLen, dstPtr) int Tcl_ExternalToUtf(interp, encoding, src, srcLen, flags,…

  • |

    Tcl_ExprString (3) Linux Manual Page

    Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBoolean, Tcl_ExprString – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLong(interp, expr, longPtr) int Tcl_ExprDouble(interp, expr, doublePtr) int Tcl_ExprBoolean(interp, expr, booleanPtr) int Tcl_ExprString(interp, expr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate expr. const char *expr (in) Expression to be evaluated. long *longPtr (out) Pointer to location in which to store…

  • |

    Tcl_ExprObj (3) Linux Manual Page

    Tcl_ExprLongObj, Tcl_ExprDoubleObj, Tcl_ExprBooleanObj, Tcl_ExprObj – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLongObj(interp, objPtr, longPtr) int Tcl_ExprDoubleObj(interp, objPtr, doublePtr) int Tcl_ExprBooleanObj(interp, objPtr, booleanPtr) int Tcl_ExprObj(interp, objPtr, resultPtrPtr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate objPtr. Tcl_Obj *objPtr (in) Pointer to an object containing the expression to evaluate. long *longPtr (out) Pointer to…

  • |

    Tcl_ExprLongObj (3) Linux Manual Page

    Tcl_ExprLongObj, Tcl_ExprDoubleObj, Tcl_ExprBooleanObj, Tcl_ExprObj – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLongObj(interp, objPtr, longPtr) int Tcl_ExprDoubleObj(interp, objPtr, doublePtr) int Tcl_ExprBooleanObj(interp, objPtr, booleanPtr) int Tcl_ExprObj(interp, objPtr, resultPtrPtr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate objPtr. Tcl_Obj *objPtr (in) Pointer to an object containing the expression to evaluate. long *longPtr (out) Pointer to…

  • |

    Tcl_ExprLong (3) Linux Manual Page

    Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBoolean, Tcl_ExprString – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLong(interp, expr, longPtr) int Tcl_ExprDouble(interp, expr, doublePtr) int Tcl_ExprBoolean(interp, expr, booleanPtr) int Tcl_ExprString(interp, expr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate expr. const char *expr (in) Expression to be evaluated. long *longPtr (out) Pointer to location in which to store…

  • |

    Tcl_ExprDoubleObj (3) Linux Manual Page

    Tcl_ExprLongObj, Tcl_ExprDoubleObj, Tcl_ExprBooleanObj, Tcl_ExprObj – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLongObj(interp, objPtr, longPtr) int Tcl_ExprDoubleObj(interp, objPtr, doublePtr) int Tcl_ExprBooleanObj(interp, objPtr, booleanPtr) int Tcl_ExprObj(interp, objPtr, resultPtrPtr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate objPtr. Tcl_Obj *objPtr (in) Pointer to an object containing the expression to evaluate. long *longPtr (out) Pointer to…

  • |

    Tcl_ExprDouble (3) Linux Manual Page

    Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBoolean, Tcl_ExprString – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLong(interp, expr, longPtr) int Tcl_ExprDouble(interp, expr, doublePtr) int Tcl_ExprBoolean(interp, expr, booleanPtr) int Tcl_ExprString(interp, expr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate expr. const char *expr (in) Expression to be evaluated. long *longPtr (out) Pointer to location in which to store…

  • |

    Tcl_ExprBooleanObj (3) Linux Manual Page

    Tcl_ExprLongObj, Tcl_ExprDoubleObj, Tcl_ExprBooleanObj, Tcl_ExprObj – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLongObj(interp, objPtr, longPtr) int Tcl_ExprDoubleObj(interp, objPtr, doublePtr) int Tcl_ExprBooleanObj(interp, objPtr, booleanPtr) int Tcl_ExprObj(interp, objPtr, resultPtrPtr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate objPtr. Tcl_Obj *objPtr (in) Pointer to an object containing the expression to evaluate. long *longPtr (out) Pointer to…

  • |

    Tcl_ExprBoolean (3) Linux Manual Page

    Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBoolean, Tcl_ExprString – evaluate an expression Synopsis #include <tcl.h> int Tcl_ExprLong(interp, expr, longPtr) int Tcl_ExprDouble(interp, expr, doublePtr) int Tcl_ExprBoolean(interp, expr, booleanPtr) int Tcl_ExprString(interp, expr) Arguments Tcl_Interp *interp (in) Interpreter in whose context to evaluate expr. const char *expr (in) Expression to be evaluated. long *longPtr (out) Pointer to location in which to store…

  • |

    Tcl_ExposeCommand (3) Linux Manual Page

    Tcl_IsSafe, Tcl_MakeSafe, Tcl_CreateSlave, Tcl_GetSlave, Tcl_GetMaster, Tcl_GetInterpPath, Tcl_CreateAlias, Tcl_CreateAliasObj, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_ExposeCommand, Tcl_HideCommand – manage multiple Tcl interpreters, aliases and hidden commands Synopsis #include <tcl.h> int Tcl_IsSafe(interp) int Tcl_MakeSafe(interp) Tcl_Interp * Tcl_CreateSlave(interp, slaveName, isSafe) Tcl_Interp * Tcl_GetSlave(interp, slaveName) Tcl_Interp * Tcl_GetMaster(interp) int Tcl_GetInterpPath(askingInterp, slaveInterp) int Tcl_CreateAlias(slaveInterp, slaveCmd, targetInterp, targetCmd, argc, argv) int Tcl_CreateAliasObj(slaveInterp, slaveCmd, targetInterp, targetCmd,…

  • |

    Tcl_Export (3) Linux Manual Page

    Tcl_AppendExportList, Tcl_CreateNamespace, Tcl_DeleteNamespace, Tcl_Export, Tcl_FindCommand, Tcl_FindNamespace, Tcl_ForgetImport, Tcl_GetCurrentNamespace, Tcl_GetGlobalNamespace, Tcl_GetNamespaceUnknownHandler, Tcl_Import, Tcl_SetNamespaceUnknownHandler – manipulate namespaces Synopsis #include <tcl.h> Tcl_Namespace * Tcl_CreateNamespace(interp, name, clientData, deleteProc) Tcl_DeleteNamespace(nsPtr) int Tcl_AppendExportList(interp, nsPtr, objPtr) int Tcl_Export(interp, nsPtr, pattern, resetListFirst) int Tcl_Import(interp, nsPtr, pattern, allowOverwrite) int Tcl_ForgetImport(interp, nsPtr, pattern) Tcl_Namespace * Tcl_GetCurrentNamespace(interp) Tcl_Namespace * Tcl_GetGlobalNamespace(interp) Tcl_Namespace * Tcl_FindNamespace(interp, name, contextNsPtr, flags)…

  • |

    Tcl_ExitThread (3) Linux Manual Page

    Tcl_Exit, Tcl_Finalize, Tcl_CreateExitHandler, Tcl_DeleteExitHandler, Tcl_ExitThread, Tcl_FinalizeThread, Tcl_CreateThreadExitHandler, Tcl_DeleteThreadExitHandler, Tcl_SetExitProc – end the application or thread (and invoke exit handlers) Synopsis #include <tcl.h> Tcl_Exit(status) Tcl_Finalize() Tcl_CreateExitHandler(proc, clientData) Tcl_DeleteExitHandler(proc, clientData) Tcl_ExitThread(status) Tcl_FinalizeThread() Tcl_CreateThreadExitHandler(proc, clientData) Tcl_DeleteThreadExitHandler(proc, clientData) Tcl_ExitProc * Tcl_SetExitProc(proc) Arguments int status (in) Provides information about why the application or thread exited. Exact meaning may be platform-specific….

  • |

    Tcl_Exit (3) Linux Manual Page

    Tcl_Exit, Tcl_Finalize, Tcl_CreateExitHandler, Tcl_DeleteExitHandler, Tcl_ExitThread, Tcl_FinalizeThread, Tcl_CreateThreadExitHandler, Tcl_DeleteThreadExitHandler, Tcl_SetExitProc – end the application or thread (and invoke exit handlers) Synopsis #include <tcl.h> Tcl_Exit(status) Tcl_Finalize() Tcl_CreateExitHandler(proc, clientData) Tcl_DeleteExitHandler(proc, clientData) Tcl_ExitThread(status) Tcl_FinalizeThread() Tcl_CreateThreadExitHandler(proc, clientData) Tcl_DeleteThreadExitHandler(proc, clientData) Tcl_ExitProc * Tcl_SetExitProc(proc) Arguments int status (in) Provides information about why the application or thread exited. Exact meaning may be platform-specific….

  • |

    Tcl_EventuallyFree (3) Linux Manual Page

    Tcl_Preserve, Tcl_Release, Tcl_EventuallyFree – avoid freeing storage while it is being used Synopsis #include <tcl.h> Tcl_Preserve(clientData) Tcl_Release(clientData) Tcl_EventuallyFree(clientData, freeProc) Arguments ClientData clientData (in) Token describing structure to be freed or reallocated. Usually a pointer to memory for structure. Tcl_FreeProc *freeProc (in) Procedure to invoke to free clientData. Description These three procedures help implement a simple…

  • |

    Tcl_EvalTokensStandard (3) Linux Manual Page

    Tcl_ParseCommand, Tcl_ParseExpr, Tcl_ParseBraces, Tcl_ParseQuotedString, Tcl_ParseVarName, Tcl_ParseVar, Tcl_FreeParse, Tcl_EvalTokens, Tcl_EvalTokensStandard – parse Tcl scripts and expressions Synopsis #include <tcl.h> int Tcl_ParseCommand(interp, start, numBytes, nested, parsePtr) int Tcl_ParseExpr(interp, start, numBytes, parsePtr) int Tcl_ParseBraces(interp, start, numBytes, parsePtr, append, termPtr) int Tcl_ParseQuotedString(interp, start, numBytes, parsePtr, append, termPtr) int Tcl_ParseVarName(interp, start, numBytes, parsePtr, append) const char * Tcl_ParseVar(interp, start, termPtr)…

  • |

    Tcl_EvalTokens (3) Linux Manual Page

    Tcl_ParseCommand, Tcl_ParseExpr, Tcl_ParseBraces, Tcl_ParseQuotedString, Tcl_ParseVarName, Tcl_ParseVar, Tcl_FreeParse, Tcl_EvalTokens, Tcl_EvalTokensStandard – parse Tcl scripts and expressions Synopsis #include <tcl.h> int Tcl_ParseCommand(interp, start, numBytes, nested, parsePtr) int Tcl_ParseExpr(interp, start, numBytes, parsePtr) int Tcl_ParseBraces(interp, start, numBytes, parsePtr, append, termPtr) int Tcl_ParseQuotedString(interp, start, numBytes, parsePtr, append, termPtr) int Tcl_ParseVarName(interp, start, numBytes, parsePtr, append) const char * Tcl_ParseVar(interp, start, termPtr)…