rd_long.c 279 B

123456789101112131415
  1. /* $Header$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #include "object.h"
  7. long
  8. rd_long(fd)
  9. {
  10. char buf[4];
  11. rd_bytes(fd, buf, 4L);
  12. return get4(buf);
  13. }