Annotation of 42BSD/usr.lib/libcurses/standout.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * routines dealing with entering and exiting standout mode
        !             3:  *
        !             4:  * 1/26/81 (Berkeley) @(#)standout.c   1.1
        !             5:  */
        !             6: 
        !             7: # include      "curses.ext"
        !             8: 
        !             9: /*
        !            10:  * enter standout mode
        !            11:  */
        !            12: char *
        !            13: wstandout(win)
        !            14: reg WINDOW     *win;
        !            15: {
        !            16:        if (!SO && !UC)
        !            17:                return FALSE;
        !            18: 
        !            19:        win->_flags |= _STANDOUT;
        !            20:        return (SO ? SO : UC);
        !            21: }
        !            22: 
        !            23: /*
        !            24:  * exit standout mode
        !            25:  */
        !            26: char *
        !            27: wstandend(win)
        !            28: reg WINDOW     *win;
        !            29: {
        !            30:        if (!SO && !UC)
        !            31:                return FALSE;
        !            32: 
        !            33:        win->_flags &= ~_STANDOUT;
        !            34:        return (SE ? SE : UC);
        !            35: }

unix.superglobalmegacorp.com

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