![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "nilorea/n_common.h"#include "nilorea/n_log.h"#include "nilorea/n_module.h"Go to the source code of this file.
Macros | |
| #define | EX_LIBRARY "libm.so.6" |
| the maths library, by its versioned name: the unversioned .so is a development symlink a runtime system may not have | |
| #define | EX_SYMBOL "cos" |
| a function whose answer is known | |
Functions | |
| static void | expect_true (const char *what, int ok) |
| record one check | |
| int | main (int argc, char **argv) |
| static int | parse_args (int argc, char **argv) |
| read -V LOGLEVEL | |
Variables | |
| static int | failures = 0 |
| static int | log_level = 3 |
| #define EX_LIBRARY "libm.so.6" |
the maths library, by its versioned name: the unversioned .so is a development symlink a runtime system may not have
Definition at line 34 of file ex_module.c.
| #define EX_SYMBOL "cos" |
a function whose answer is known
Definition at line 36 of file ex_module.c.
Referenced by main().
|
static |
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 66 of file ex_module.c.
References EX_SYMBOL, expect_true(), failures, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, n_log, n_module_close(), n_module_error(), n_module_extension(), n_module_symbol(), parse_args(), and set_log_level().
|
static |
read -V LOGLEVEL
Definition at line 53 of file ex_module.c.
References log_level.
Referenced by main().
|
static |
Definition at line 40 of file ex_module.c.
|
static |
Definition at line 39 of file ex_module.c.