| ActiveTcl User Guide |

### Tcl >> Tcl C Procedures

Tcl C Procedures
  Initialization
      Tcl_AppInit - perform application-specific initialization
      Tcl_CallWhenDeleted - Arrange for callback when interpreter is deleted
      Tcl_CreateInterp - create and delete Tcl command interpreters
      Tcl_CreateSlave - manage multiple Tcl interpreters, aliases and hidden commands
      Tcl_Exit - end the application or thread (and invoke exit handlers)
      Tcl_FindExecutable - identify or return the name of the binary file containing the application
      Tcl_GetVersion - get the version of the library at runtime
      Tcl_Init - find and source initialization script
      Tcl_InitStubs - initialize the Tcl stubs mechanism
      Tcl_Interp - client-visible fields of interpreter structures
      Tcl_PkgRequire - package version control
      Tcl_SourceRCFile - source the Tcl rc file
      Tcl_StaticPackage - make a statically linked package available via the 'load' command
      Tcl_Main - main program and event loop definition for Tcl-based applications
  Utilities
      Tcl_Alloc - allocate or free heap memory
      Tcl_SetAssocData - manage associations of string keys and user specified data with Tcl interpreters
      Tcl_Concat - concatenate a collection of strings
      Tcl_DString - manipulate dynamic strings
      Tcl_GetEncoding - procedures for creating and using encodings
      Tcl_GetIndexFromObj - lookup string in table of keywords
      Tcl_GetInt - convert from string to integer, double, or boolean
      Tcl_InitHashTable - procedures to manage hash tables
      Tcl_Preserve - avoid freeing storage while it is being used
      Tcl_PrintDouble - Convert floating value to string
      Tcl_RegisterConfig - procedures to register embedded configuration information
      Tcl_RegExpMatch - Pattern matching with regular expressions
      Tcl_SetChannelError - functions to create/intercept Tcl errors by channel drivers.
      Tcl_SplitList - manipulate Tcl lists
      Tcl_SplitPath - manipulate platform-dependent file paths
      Tcl_StringMatch - test whether a string matches a pattern
      Tcl_UtfToUpper - routines for manipulating the case of Unicode characters and UTF-8 strings
      Tcl_UniCharIsAlpha - routines for classification of Tcl_UniChar characters
      Utf - routines for manipulating UTF-8 strings
      Tcl_WrongNumArgs - generate standard error message for wrong number of arguments
  Namespaces
      Tcl_AppendExportList - manipulate namespaces
  Input and Output
      Tcl_StackChannel - manipulate stacked I/O channels
      Tcl_CreateChannel - procedures for creating and manipulating channels
      Tcl_CreateChannelHandler - call a procedure when a channel becomes readable or writable
      Tcl_CreateCloseHandler - arrange for callbacks when channels are closed
      Tcl_CreateFileHandler - associate procedure callbacks with files or devices (Unix only)
      Tcl_FSRegister - procedures to interact with any filesystem
      Tcl_GetOpenFile - Return a FILE* for a channel registered in the given interpreter (Unix only)
      Tcl_GetStdChannel - procedures for retrieving and replacing the standard channels
      Tcl_OpenFileChannel - buffered I/O facilities using channels
      Tcl_OpenTcpClient - procedures to open channels using TCP sockets
  The Event Loop
      Tcl_AsyncCreate - handle asynchronous events
      Tcl_CreateTimerHandler - call a procedure at a given time
      Tcl_DoOneEvent - wait for events and invoke event handlers
      Tcl_DoWhenIdle - invoke a procedure when there are no pending events
      Notifier - the event queue and notifier interfaces
      Tcl_Sleep - delay execution for a given number of milliseconds
      Thread - Tcl thread support
  Objects
      Tcl_BooleanObj - store/retrieve boolean value in a Tcl_Obj
      Tcl_ByteArrayObj - manipulate Tcl objects as a arrays of bytes
      Tcl_DictObj - manipulate Tcl objects as dictionaries
      Tcl_DoubleObj - manipulate Tcl objects as floating-point values
      Tcl_IntObj - manipulate Tcl objects as integer values
      Tcl_ListObj - manipulate Tcl objects as lists
      Tcl_NewObj - manipulate Tcl objects
      Tcl_RegisterObjType - manipulate Tcl object types
      Tcl_StringObj - manipulate Tcl objects as strings
  Invoking the Interpreter
      Tcl_AllowExceptions - allow all exceptions in next script evaluation
      Tcl_Backslash - parse a backslash sequence
      Tcl_CommandComplete - Check for unmatched braces in a Tcl command
      Tcl_CreateEnsemble - manipulate ensemble commands
      Tcl_Eval - execute Tcl scripts
      Tcl_ExprLong - evaluate an expression
      Tcl_ExprLongObj - evaluate an expression
      Tcl_ParseCommand - parse Tcl scripts and expressions
      Tcl_RecordAndEvalObj - save command on history list before evaluating
      Tcl_RecordAndEval - save command on history list before evaluating
      Tcl_SetRecursionLimit - set maximum allowable nesting depth in interpreter
      Tcl_SubstObj - perform substitutions on Tcl objects
  Resource Limits
      Tcl_LimitAddHandler - manage and check resource limits on interpreters
  Commands
      Tcl_AddErrorInfo - retrieve or record information about errors and other return options
      Tcl_BackgroundError - report Tcl error that occurred in background processing
      Tcl_CreateCommand - implement new commands in C
      Tcl_CreateMathFunc - Define, query and enumerate math functions for expressions
      Tcl_CreateObjCommand - implement new commands in C
      Tcl_Panic - report fatal error and abort
      Tcl_SaveResult - save and restore an interpreter's state
      Tcl_SetErrno - manipulate errno to store and retrieve error codes
      Tcl_SetResult - manipulate Tcl result
  Variables
      Tcl_CreateTrace - arrange for command execution to be traced
      Tcl_LinkVar - link Tcl variable to C variable
      Tcl_SetVar - manipulate Tcl variables
      Tcl_TraceCommand - monitor renames and deletes of a command
      Tcl_TraceVar - monitor accesses to a variable
      Tcl_UpVar - link one variable to another
  Operating System Interface
      Tcl_Access - check file permissions and other attributes
      Tcl_DetachPids - manage child processes in background
      Tcl_PutEnv - procedures to manipulate the environment
      Tcl_GetCwd - manipulate the current working directory
      Tcl_GetHostName - get the name of the local host
      Tcl_GetTime - get date and time
      Tcl_SignalId - Convert signal codes
      Tcl_TranslateFileName - convert file name to native form and replace tilde with home directory

    Copyright © 1989-1994 The Regents of the University of California.
    Copyright © 1990-1994 The Regents of the University of California
    Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans
    Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans.
    Copyright © 1993-1997 Bell Labs Innovations for Lucent Technologies
    Copyright © 1994 The Australian National University
    Copyright © 1994-2000 Sun Microsystems, Inc.
    Copyright © 1997-2000 Ajuba Solutions.
    Copyright © 1997-2000 Scriptics Corporation.
    Copyright © 1998 Mark Harrison.
    Copyright © 1998-1999 Scriptics Corporation
    Copyright © 1998-1999 Scriptics Corportation
    Copyright © 1995-1997 Roger E. Critchlow Jr.