critcl::util(3) CriTcl Utilities


package require Tcl 8.4

package require critcl ?2.1?

package require critcl::util ?1?

::critcl::util::checkfun name ?label?


Welcome to the C Runtime In Tcl, CriTcl for short, a system to build C extension packages for Tcl on the fly, from C code embedded within Tcl scripts, for all who wish to make their code go faster.

This document is the reference manpage for the critcl::util package. This package provides convenience commands for advanced functionality built on top of the core. Its intended audience are mainly developers wishing to write Tcl packages with embedded C code.

This package resides in the Core Package Layer of CriTcl.

|Applications    |
| critcl         |
| critcl::app    |
|Core Packages   |
| critcl         |
| critcl::util   |
|Support Packages|
| stubs::*       |
| md5, platform  |
|  ...           |


::critcl::util::checkfun name ?label?
This command checks the build-time environment for the existence of the C function name. It returns true on success, and false otherwise.


Andreas Kupries


This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such at Please also report any ideas for enhancements you may have for either package and/or documentation.


C code, Embedded C Code, code generator, compile & run, compiler, dynamic code generation, dynamic compilation, generate package, linker, on demand compilation, on-the-fly compilation


Glueing/Embedded C code


Copyright (c) 2011-2012 Andreas Kupries