2005-04-21 16:53:53 +02:00
|
|
|
/* $Header$ */
|
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
|
|
|
#include "object.h"
|
2010-07-05 01:01:32 +02:00
|
|
|
#include "wr_bytes.h"
|
|
|
|
#include "wr_long.h"
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-07-05 01:01:32 +02:00
|
|
|
void wr_long(int fd, long l)
|
2005-04-21 16:53:53 +02:00
|
|
|
{
|
|
|
|
char buf[4];
|
|
|
|
|
|
|
|
put4(l, buf);
|
|
|
|
wr_bytes(fd, buf, 4L);
|
|
|
|
}
|