rd_int2.c 278 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. int
  8. rd_int2(fd)
  9. {
  10. char buf[2];
  11. rd_bytes(fd, buf, 2L);
  12. return get2(buf);
  13. }