|
|
1.1 root 1: /*
2: * Handy function to put out a string with padding.
3: * It makes two assumptions:
4: * (1) Output is via stdio to stdout through putchar.
5: * (2) There is no count of affected lines. Thus, this
6: * routine is only valid for certain capabilities,
7: * i.e. those that don't have *'s in the documentation.
8: */
9:
10: #include <stdio.h>
11:
12: extern _outchar();
13:
14: /* @(#) putp.c: 1.1 10/15/83 (1.7 9/28/82) */
15:
16: /*
17: * Handy way to output a string.
18: */
19: putp(str)
20: char *str;
21: {
22: tputs(str, 1, _outchar);
23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.