Annotation of researchv10no/ncurses/screen/vidattr.c, revision 1.1.1.1

1.1       root        1: /*     @(#) vidattr.c: 1.1 10/15/83    (1.7    9/28/82)        */
                      2: /*
                      3:  * Handy function to put out a string with padding.
                      4:  * It makes two assumptions:
                      5:  *     (1) Output is via stdio to stdout through putchar.
                      6:  *     (2) There is no count of affected lines.  Thus, this
                      7:  *         routine is only valid for certain capabilities,
                      8:  *         i.e. those that don't have *'s in the documentation.
                      9:  */
                     10: 
                     11: #include <stdio.h>
                     12: 
                     13: extern int     _outchar();
                     14: /*
                     15:  * Handy way to output video attributes.
                     16:  */
                     17: vidattr(newmode)
                     18: int newmode;
                     19: {
                     20:        vidputs(newmode, _outchar);
                     21: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.