1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Computer Consoles Inc. 7 * 8 * %sccs.include.proprietary.c% 9 */ 10 11 #ifndef lint 12 static char sccsid[] = "@(#)outstr_.c 5.2 (Berkeley) 04/12/91"; 13 #endif /* not lint */ 14 15 #include <stdio.h> 16 17 /* print a character string */ 18 outstr_(s, n) 19 register char *s; 20 register long n; 21 { 22 while ( --n >= 0) 23 putchar(*s++); 24 } 25