File:  [MW Coherent from dump] / coherent / d / usr / lib / scn / query.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:38 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * Show a message and get a reply.
 */
#include <scn.h>

Query(s)
char *s;
{
	char reply, work[80];

	if (NULL == errWindow)
		fatal("No error window");
	sprintf(work, "%r ", &s);
	wmove(errWindow, 0, 0);
	waddstr(errWindow, work);
	wrefresh(errWindow);
	reply = wgetch(errWindow);
	werase(errWindow);
	wrefresh(errWindow);
	return (reply);
}

unix.superglobalmegacorp.com

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