|
|
Power 6/32 Unix version 1.21
#include <stdio.h>
/*
* NAME
* connect, disconnect
*
* SYNOPSIS
* connect(host,dev)
* char *host, *dev;
* disconnect(host,dev)
* char *host, *dev;
*
* DESCRIPTION
* Installation-supplied exits from bscd
* connect - installation connect routine
* disconnect - installation disconnect routine
*/
/* connect - installation connect routine */
connect(host,dev)
char *host, *dev;
{
char garbage;
printf("Ready to connect to host <%s>.\n",host);
printf("Press Return to continue or enter 'q' to quit: ");
if ((garbage=getc(stdin)) != '\n' && garbage != '\r') exit(0);
return(0);
}
/* disconnect - installation disconnect routine */
disconnect(host, dev)
char *host, *dev;
{}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.