/* * Handy function to put out a string with padding. * It makes two assumptions: * (1) Output is via stdio to stdout through putchar. * (2) There is no count of affected lines. Thus, this * routine is only valid for certain capabilities, * i.e. those that don't have *'s in the documentation. */ #include <stdio.h> extern _outchar(); /* @(#) putp.c: 1.1 10/15/83 (1.7 9/28/82) */ /* * Handy way to output a string. */ putp(str) char *str; { tputs(str, 1, _outchar); }