Nilorea Library
C utilities for networking, threading, graphics
|
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_str.h"
#include <sys/wait.h>
Go to the source code of this file.
Functions | |
__attribute__ ((always_inline)) | |
int | main (int argc, char **argv) |
void | process_args (int argc, char **argv) |
void | usage (void) |
__attribute__ | ( | (always_inline) | ) |
Definition at line 113 of file ex_common.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 119 of file ex_common.c.
References __n_assert, _nstr, _nstrp, _str, Alloca, char_to_nstr(), checkerror, endif, file_exist(), Free, free_nstr, FreeNoLog, get_error, get_prog_dir(), get_prog_name(), iffalse, ifnull, iftrue, ifzero, init_error_check, LOG_ERR, LOG_INFO, Malloc, n_abort(), n_daemonize(), n_log, n_popen(), next_even, next_odd, process_args(), Realloc, Reallocz, and system_nb().
void process_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 27 of file ex_common.c.
References getoptret, LOG_DEBUG, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, LOG_NULL, set_log_level(), and usage().
Referenced by main().
void usage | ( | void | ) |
Definition at line 20 of file ex_common.c.
Referenced by main(), and process_args().