ack/modules/src/object/rd_long.c
2019-03-25 00:07:12 +08:00

20 lines
356 B
C

/* $Id$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#include <stdlib.h>
#include <stdio.h>
#include "out.h"
#include "object.h"
#include "obj.h"
long rd_long(FILE* fd)
{
char buf[4];
rd_bytes(fd, buf, 4L);
return get4(buf);
}