* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)query.c 5.1 (Berkeley) %G%";
* Ask a question and get a yes or no answer. Default is "no".
move(Y_PROMPT
, X_PROMPT
);
retval
= ((c
= getchar()) == 'y' || c
== 'Y');
move(Y_PROMPT
, X_PROMPT
);