Annotation of coherent/d/usr/lib/scn/query.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Show a message and get a reply.
                      3:  */
                      4: #include <scn.h>
                      5: 
                      6: Query(s)
                      7: char *s;
                      8: {
                      9:        char reply, work[80];
                     10: 
                     11:        if (NULL == errWindow)
                     12:                fatal("No error window");
                     13:        sprintf(work, "%r ", &s);
                     14:        wmove(errWindow, 0, 0);
                     15:        waddstr(errWindow, work);
                     16:        wrefresh(errWindow);
                     17:        reply = wgetch(errWindow);
                     18:        werase(errWindow);
                     19:        wrefresh(errWindow);
                     20:        return (reply);
                     21: }

unix.superglobalmegacorp.com

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