Commit | Line | Data |
---|---|---|
f4d25f94 WN |
1 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * William Jolitz. | |
7 | * | |
94e95f9e | 8 | * %sccs.include.redist.c% |
f4d25f94 | 9 | * |
3aa682c4 | 10 | * @(#)prf.c 7.4 (Berkeley) %G% |
f4d25f94 WN |
11 | */ |
12 | ||
c9722c91 WN |
13 | #include "types.h" |
14 | ||
f4d25f94 WN |
15 | putchar(c) |
16 | char c; | |
17 | { | |
c9722c91 WN |
18 | if (c == '\n') |
19 | sput('\r'); | |
f4d25f94 WN |
20 | sput(c); |
21 | return(0); | |
22 | } | |
23 | ||
24 | wait(n) { while(n--) ; } |