![]() |
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_files.h"#include "nilorea/n_log.h"Go to the source code of this file.
Functions | |
| static void | expect_true (const char *what, int ok) |
| report a check | |
| int | main (void) |
| static int | there (const char *path) |
| does a file exist | |
Variables | |
| static int | failures = 0 |
| record one check | |
|
static |
report a check
Definition at line 28 of file ex_file_copy.c.
| int main | ( | void | ) |
Definition at line 44 of file ex_file_copy.c.
References expect_true(), failures, LOG_NOTICE, n_file_copy_verified(), n_file_same_content(), n_log, set_log_level(), and there().
|
static |
does a file exist
Definition at line 36 of file ex_file_copy.c.
Referenced by main().
|
static |
record one check
Definition at line 25 of file ex_file_copy.c.