version 1.3, 1997/04/02 01:47:02 |
version 1.4, 1997/09/01 23:24:24 |
|
|
/* |
/* |
* Botch the interface to look like cu's |
* Botch the interface to look like cu's |
*/ |
*/ |
|
void |
cumain(argc, argv) |
cumain(argc, argv) |
|
int argc; |
char *argv[]; |
char *argv[]; |
{ |
{ |
register int i; |
register int i; |
|
|
* The "cu" host name is used to define the |
* The "cu" host name is used to define the |
* attributes of the generic dialer. |
* attributes of the generic dialer. |
*/ |
*/ |
(void)snprintf(sbuf, sizeof(sbuf), "cu%d", BR); |
(void)snprintf(sbuf, sizeof(sbuf), "cu%ld", BR); |
if ((i = hunt(sbuf)) == 0) { |
if ((i = hunt(sbuf)) == 0) { |
printf("all ports busy\n"); |
printf("all ports busy\n"); |
exit(3); |
exit(3); |