home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_09
/
9n09020b
< prev
next >
Wrap
Text File
|
1991-07-09
|
245b
|
17 lines
void myexit(void)
{
char reply[11];
if (proot_node != NULL) {
printf("\n The list still has nodes. Throw them away? ");
scanf("%10s", reply);
if (tolower(reply[0]) == 'n') {
return;
}
}
exit(EXIT_SUCCESS);
}