![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include <stdio.h>#include <errno.h>#include <string.h>#include <sys/types.h>#include "nilorea/n_files.h"#include "nilorea/n_log.h"#include "nilorea/n_str.h"#include <sys/stat.h>#include <sys/wait.h>Go to the source code of this file.
Functions | |
| void | inlined_func (void) |
| int | main (int argc, char **argv) |
| void | process_args (int argc, char **argv) |
| static int | test_atomic_file (void) |
| void | usage (void) |
| void inlined_func | ( | void | ) |
Definition at line 100 of file ex_file.c.
References FORCE_INLINE, LOG_DEBUG, and n_log.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 161 of file ex_file.c.
References __n_assert, _nstr, _nstrp, _str, Alloca, char_to_nstr(), checkerror, endif, file_exist(), N_FILE_INFO::filetime, Free, free_nstr, FreeNoLog, get_error, get_prog_dir(), get_prog_name(), iffalse, ifnull, iftrue, ifzero, init_error_check, inlined_func(), list_destroy(), list_foreach, LOG_DEBUG, LOG_ERR, LOG_INFO, Malloc, n_abort(), n_daemonize(), N_HIDE_STR(), n_log, n_popen(), n_scan_dir(), N_FILE_INFO::name, LIST::nb_items, new_generic_list(), next_even, next_odd, process_args(), Realloc, Reallocz, system_nb(), and test_atomic_file().
| void process_args | ( | int | argc, |
| char ** | argv ) |
|
static |
Definition at line 105 of file ex_file.c.
References Free, LOG_ERR, n_file_read_bounded(), n_file_write_atomic(), and n_log.
Referenced by main().