minix/commands/aal/wr_int2.c

17 lines
329 B
C
Raw Normal View History

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_int2.h"
#include "wr_bytes.h"
2005-04-21 16:53:53 +02:00
2010-07-05 01:01:32 +02:00
void wr_int2(int fd, int i)
2005-04-21 16:53:53 +02:00
{
char buf[2];
put2(i, buf);
wr_bytes(fd, buf, 2L);
}