source:
trunk/minix/commands/autil/rd_unsig2.c@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 337 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | /* $Id: rd_unsig2.c,v 1.1 2005/06/23 09:50:54 philip 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 "obj.h" | |
7 | ||
8 | unsigned int | |
9 | rd_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.