Deleted Added
full compact
read.c (17825) read.c (17826)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Edward Sze-Tyan Wang.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 32 unchanged lines hidden (view full) ---

41#include <sys/types.h>
42#include <sys/stat.h>
43#include <fcntl.h>
44#include <errno.h>
45#include <unistd.h>
46#include <stdio.h>
47#include <stdlib.h>
48#include <string.h>
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Edward Sze-Tyan Wang.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 32 unchanged lines hidden (view full) ---

41#include <sys/types.h>
42#include <sys/stat.h>
43#include <fcntl.h>
44#include <errno.h>
45#include <unistd.h>
46#include <stdio.h>
47#include <stdlib.h>
48#include <string.h>
49#include <err.h>
49#include "extern.h"
50
51/*
52 * bytes -- read bytes to an offset from the end and display.
53 *
54 * This is the function that reads to a byte offset from the end of the input,
55 * storing the data in a wrap-around buffer which is then displayed. If the
56 * rflag is set, the data is displayed in lines in reverse order, and this

--- 144 unchanged lines hidden ---
50#include "extern.h"
51
52/*
53 * bytes -- read bytes to an offset from the end and display.
54 *
55 * This is the function that reads to a byte offset from the end of the input,
56 * storing the data in a wrap-around buffer which is then displayed. If the
57 * rflag is set, the data is displayed in lines in reverse order, and this

--- 144 unchanged lines hidden ---