Annotation of researchv10no/ncurses/screen/_sputc.c, revision 1.1

1.1     ! root        1: /*     @(#) _sputc.c: 1.1 10/15/83     (1.2    4/7/82) */
        !             2: /*
        !             3:  * 1/26/81 (Berkeley) @(#)standout.c   1.1
        !             4:  */
        !             5: 
        !             6: # include      "curses.ext"
        !             7: 
        !             8: #ifdef DEBUG
        !             9: _sputc(c, f)
        !            10: chtype c;
        !            11: FILE *f;
        !            12: {
        !            13:        int so;
        !            14: 
        !            15:        so = c & A_ATTRIBUTES;
        !            16:        c &= 0177;
        !            17:        if (so) {
        !            18:                putc('<', f);
        !            19:                fprintf(f, "%o,", so);
        !            20:        }
        !            21:        putc(c, f);
        !            22:        if (so)
        !            23:                putc('>', f);
        !            24: }
        !            25: #endif

unix.superglobalmegacorp.com

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