* <<conf_macros,Convenience macros>>
* <<alloc,Memory allocation>>
* <<journal,Undo journal>>
* <<conf_macros,Convenience macros>>
* <<alloc,Memory allocation>>
* <<journal,Undo journal>>
* <<bparser,Parsers for basic types>>
- <<getopt_h,ucw/getopt.h>>
* <<conf_load,Safe configuration loading>>
* <<bparser,Parsers for basic types>>
- <<getopt_h,ucw/getopt.h>>
* <<conf_load,Safe configuration loading>>
static struct option long_opts[] = {
CF_LONG_OPTS
{ "verbose", 0, 0, 'v' },
{ NULL, 0, 0, 0 }
};
static struct option long_opts[] = {
CF_LONG_OPTS
{ "verbose", 0, 0, 'v' },
{ NULL, 0, 0, 0 }
};
int main(int argc, char *argv[]) {
cf_def_file = "default.cf";
int main(int argc, char *argv[]) {
cf_def_file = "default.cf";
- static uns array = { 1, 2, 3, 4, 5 };
+ static uns array[] = { 1, 2, 3, 4, 5 };
*Dynamic arrays*::
Similar to static array, but you provide pointer
to pointer to the given item (eg. if you want dynamic array of
*Dynamic arrays*::
Similar to static array, but you provide pointer
to pointer to the given item (eg. if you want dynamic array of
size. You can use the <<def_DARY_LEN,`DARY_LEN`>> macro to find out
the number of elements actually loaded.
+
size. You can use the <<def_DARY_LEN,`DARY_LEN`>> macro to find out
the number of elements actually loaded.
+