Obtains the C library information _CINFO_STRUCT for the calling task.
#include <rtext.h> int _get_info (unsigned int count, _CINFO_STRUCT *cinfo);
count
cinfo
typedef struct _cinfo_struct32f {
int _reserved;
unsigned long accounting;
unsigned short num_accounting;
unsigned short num_clib_functs;
unsigned long flags;
unsigned long global_flags;
unsigned short num_files;
} _CINFO_STRUCT;
Elements
accounting |
Pointer to an array containing a counter for each configured function in the C library. The C library uses this array to keep track of the number of times a function has been called since the library was loaded, and to indicate whether or not a function is configured. |
num_accounting |
Size of the accounting array. |
num_clib_functs |
Number of functions implemented in this version of the C Library. |
flags |
One entry per function indicating whether the function is configured. |
num_files |
Number of entries in the C library file handle table for this process. |
>= 0
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtext.h | rtext.h | clib.lib |