Miscellaneous functions and macros – Dialogic 6.2 User Manual
Page 35
The Bfv API Functions
November 2009
35
Miscellaneous Functions and Macros
Some administration functions and macros cannot be classified with
other functions, but are useful in various ways. For example:
_dll... functions for use on Windows® operating systems. These
functions call standard C library functions such as fopen, fclose,
fread, and fwrite; their arguments use the runtime library linked
with the DLL.
The getopt function parses command line options in a UNIX
environment. Most of the sample applications/utilities use this
function (see
Sample Applications and Utilities
The BfvMemAllocFuncSet function allows you to write your
own functions to dynamically allocate and free memory instead
of using the Bfv API functions to do so.
The sleep macro lets you write applications that sleep for a
defined period of time (in seconds). This macro is only defined for
environments that do not have built-in sleep functions.