Share this page

# TC.evalC

Runs a specific function in C language, defined in the C-functions.c file.

Note: Support for this API in JavaScript code will be deprecated in TruClient. Instead use the Evaluate C step available in the TruClient Steps box.

    TC.evalC(funcName, funcTimeout);

## Arguments

Name | Description
--- | ---
funcName | (string) Name of the function. Use the #include command to include the file where the function is defined.
funcTimeout | (number) The maximum expected runtime, in seconds, of the function called by the step. The default timeout is 60 seconds.

## Return value

(void) undefined

## Example

Copy code

    TC.evalC("myFunc", 20);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: