Commit | Line | Data |
---|---|---|
f4d25f94 | 1 | /*- |
2ae79493 KB |
2 | * Copyright (c) 1990, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
f4d25f94 WN |
4 | * |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * William Jolitz. | |
7 | * | |
94e95f9e | 8 | * %sccs.include.redist.c% |
f4d25f94 | 9 | * |
2ae79493 | 10 | * @(#)prf.c 8.1 (Berkeley) %G% |
f4d25f94 WN |
11 | */ |
12 | ||
38a01dbe | 13 | #include <sys/types.h> |
c9722c91 | 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--) ; } |