Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_file.c File Reference
#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>
Include dependency graph for ex_file.c:

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)

Function Documentation

◆ inlined_func()

void inlined_func ( void )

Definition at line 100 of file ex_file.c.

References FORCE_INLINE, LOG_DEBUG, and n_log.

◆ main()

◆ process_args()

void process_args ( int argc,
char ** argv )

Definition at line 49 of file ex_file.c.

References getoptret, LOG_DEBUG, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, LOG_NULL, set_log_level(), and usage().

Here is the call graph for this function:

◆ test_atomic_file()

int test_atomic_file ( void )
static
Examples
ex_file.c.

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usage()

void usage ( void )

Definition at line 42 of file ex_file.c.