#include <errno.h>#include <sys/types.h>#include <fcntl.h>#include <string.h>#include <unistd.h>#include <stdlib.h>#include <minix/minlib.h>#include <stdio.h>Include dependency graph for cat.c:

Go to the source code of this file.
Defines | |
| #define | CHUNK_SIZE (2048 * sizeof(char *)) |
Functions | |
| int | main (int argc, char **argv) |
| static void | copyout (char *file, int fd) |
| static void | output (char *buf, size_t count) |
| static void | report (char *label) |
| static void | fatal (char *label) |
| int | main (int argc, char *argv[]) |
Variables | |
| static int | unbuffered |
| static char | ibuf [CHUNK_SIZE] |
| static char | obuf [CHUNK_SIZE] |
| static char * | op = obuf |
| static char | STDIN [] = "standard input" |
| static char | STDOUT [] = "standard output" |
| static int | excode = 0 |
|
|
|
|
||||||||||||
|
Definition at line 79 of file cat.c. References CHUNK_SIZE, fatal(), ibuf, memcpy(), n, obuf, output, read, and unbuffered. Referenced by main(). |
|
|
Definition at line 49 of file installboot.c. |
|
||||||||||||
|
Definition at line 34 of file cat.c. References close, copyout(), excode, exit(), i, O_RDONLY, obuf, open, output, report(), std_err(), STDIN, STDIN_FILENO, and unbuffered. |
|
||||||||||||
|
Definition at line 58 of file addaout.c. References A_IMG, A_MAGIC0, A_MAGIC1, aout, bp, copy_data(), errno, fdin, fdout, INPUT_FILE, lseek, memset(), n, O_CREAT, O_RDONLY, O_TRUNC, O_WRONLY, open, OUTPUT_FILE, printf, r, report(), result, SEEK_SET, stat::st_mode, stat, strerror(), and write. |
|
||||||||||||
|
|
|
|
Definition at line 43 of file installboot.c. References errno, fprintf(), stderr, and strerror(). |
|
|
Definition at line 32 of file cat.c. Referenced by apply_link(), copylink(), main(), and report(). |
|
|
Definition at line 19 of file cat.c. Referenced by compressStream(), copyout(), kb_read(), kbd_interrupt(), mygetc(), rw_data_zones(), rw_ibmap(), rw_init_super(), and rw_zbmap(). |
|
|
Definition at line 20 of file cat.c. Referenced by chg_buf(), copyout(), die(), iwritfile(), main(), myputc(), prepare_output(), rw_data_zones(), rw_ibmap(), rw_init_super(), rw_zbmap(), testStream(), and uncompressStream(). |
|
|
Definition at line 21 of file cat.c. Referenced by display(), dyndep(), lex(), m_enter(), m_in(), m_magic(), m_modify(), m_move(), m_out(), m_quit(), m_shell(), m_updown(), main(), nextdevice(), and print(). |
|
|
|
|
|
|
|
|
|
1.4.6