37
37
#include <stddef.h> /* NULL, size_t, ssize_t */
38
38
#include <sys/types.h> /* ssize_t */
39
39
#include <stdlib.h> /* EXIT_SUCCESS, EXIT_FAILURE,
41
41
#include <stdio.h> /* fprintf(), stderr, getline(),
42
stdin, feof(), perror(), fputc(),
42
stdin, feof(), perror(), fputc()
44
44
#include <errno.h> /* errno, EBADF, ENOTTY, EINVAL,
45
45
EFAULT, EFBIG, EIO, ENOSPC, EINTR