source: trunk/minix/commands/aal/rd_unsig2.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 376 bytes
RevLine 
[9]1/* $Header: /cvsup/minix/src/commands/aal/rd_unsig2.c,v 1.1.1.1 2005/04/21 14:53:58 beng Exp $ */
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
8unsigned int
9rd_unsigned2(fd)
10{
11 char buf[2];
12
13 rd_bytes(fd, buf, 2L);
14 return uget2(buf);
15}
Note: See TracBrowser for help on using the repository browser.