| [ | |
| { | |
| "function_name": "usage", | |
| "function_signature": "void usage (int status)", | |
| "include_line": "#include \"../tests/head/tests_for_usage.c\"" | |
| }, | |
| { | |
| "function_name": "diagnose_copy_fd_failure", | |
| "function_signature": "static void diagnose_copy_fd_failure (enum Copy_fd_status err, char const *filename)", | |
| "include_line": "#include \"../tests/head/tests_for_diagnose_copy_fd_failure.c\"" | |
| }, | |
| { | |
| "function_name": "xwrite_stdout", | |
| "function_signature": "static void xwrite_stdout (char const *buffer, size_t n_bytes)", | |
| "include_line": "#include \"../tests/head/tests_for_xwrite_stdout.c\"" | |
| }, | |
| { | |
| "function_name": "copy_fd", | |
| "function_signature": "static enum Copy_fd_status copy_fd (int src_fd, uintmax_t n_bytes)", | |
| "include_line": "#include \"../tests/head/tests_for_copy_fd.c\"" | |
| }, | |
| { | |
| "function_name": "elseek_diagnostic", | |
| "function_signature": "static void elseek_diagnostic (off_t offset, int whence, char const *filename)", | |
| "include_line": "#include \"../tests/head/tests_for_elseek_diagnostic.c\"" | |
| }, | |
| { | |
| "function_name": "elide_tail_bytes_pipe", | |
| "function_signature": "static bool elide_tail_bytes_pipe (char const *filename, int fd, uintmax_t n_elide,\n off_t current_pos)", | |
| "include_line": "#include \"../tests/head/tests_for_elide_tail_bytes_pipe.c\"" | |
| }, | |
| { | |
| "function_name": "elide_tail_bytes_file", | |
| "function_signature": "static bool elide_tail_bytes_file (char const *filename, int fd, uintmax_t n_elide,\n struct stat const *st, off_t current_pos)", | |
| "include_line": "#include \"../tests/head/tests_for_elide_tail_bytes_file.c\"" | |
| }, | |
| { | |
| "function_name": "elide_tail_lines_pipe", | |
| "function_signature": "static bool elide_tail_lines_pipe (char const *filename, int fd, uintmax_t n_elide,\n off_t current_pos)", | |
| "include_line": "#include \"../tests/head/tests_for_elide_tail_lines_pipe.c\"" | |
| }, | |
| { | |
| "function_name": "elide_tail_lines_seekable", | |
| "function_signature": "static bool elide_tail_lines_seekable (char const *pretty_filename, int fd,\n uintmax_t n_lines,\n off_t start_pos, off_t size)", | |
| "include_line": "#include \"../tests/head/tests_for_elide_tail_lines_seekable.c\"" | |
| }, | |
| { | |
| "function_name": "elide_tail_lines_file", | |
| "function_signature": "static bool elide_tail_lines_file (char const *filename, int fd, uintmax_t n_elide,\n struct stat const *st, off_t current_pos)", | |
| "include_line": "#include \"../tests/head/tests_for_elide_tail_lines_file.c\"" | |
| }, | |
| { | |
| "function_name": "head_bytes", | |
| "function_signature": "static bool head_bytes (char const *filename, int fd, uintmax_t bytes_to_write)", | |
| "include_line": "#include \"../tests/head/tests_for_head_bytes.c\"" | |
| }, | |
| { | |
| "function_name": "head_lines", | |
| "function_signature": "static bool head_lines (char const *filename, int fd, uintmax_t lines_to_write)", | |
| "include_line": "#include \"../tests/head/tests_for_head_lines.c\"" | |
| }, | |
| { | |
| "function_name": "head", | |
| "function_signature": "static bool head (char const *filename, int fd, uintmax_t n_units, bool count_lines,\n bool elide_from_end)", | |
| "include_line": "#include \"../tests/head/tests_for_head.c\"" | |
| }, | |
| { | |
| "function_name": "head_file", | |
| "function_signature": "static bool head_file (char const *filename, uintmax_t n_units, bool count_lines,\n bool elide_from_end)", | |
| "include_line": "#include \"../tests/head/tests_for_head_file.c\"" | |
| } | |
| ] |