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 * 8 * %sccs.include.redist.c% 9 * 10 * @(#)prf.c 7.5 (Berkeley) 10/11/92 11 */ 12 13 #include <sys/types.h> 14 15 putchar(c) 16 char c; 17 { 18 if (c == '\n') 19 sput('\r'); 20 sput(c); 21 return(0); 22 } 23 24 wait(n) { while(n--) ; } 25