usr/src/cmd/bnu/uucico.c
changeset 9521 b061a79d3d1a
parent 9519 fc2830e2f3c4
child 9694 78fafb281255
equal deleted inserted replaced
9520:017f1b58f68b 9521:b061a79d3d1a
     1 /*
     1 /*
     2  * CDDL HEADER START
     2  * CDDL HEADER START
     3  *
     3  *
     4  * The contents of this file are subject to the terms of the
     4  * The contents of this file are subject to the terms of the
     5  * Common Development and Distribution License (the "License").
     5  * Common Development and Distribution License, Version 1.0 only
     6  * You may not use this file except in compliance with the License.
     6  * (the "License").  You may not use this file except in compliance
       
     7  * with the License.
     7  *
     8  *
     8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     9  * or http://www.opensolaris.org/os/licensing.
    10  * or http://www.opensolaris.org/os/licensing.
    10  * See the License for the specific language governing permissions
    11  * See the License for the specific language governing permissions
    11  * and limitations under the License.
    12  * and limitations under the License.
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  *
    19  *
    19  * CDDL HEADER END
    20  * CDDL HEADER END
    20  */
    21  */
    21 /*
    22 /*
    22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    23  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    23  * Use is subject to license terms.
    24  * Use is subject to license terms.
    24  */
    25  */
    25 
    26 
    26 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
    27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
    27 /*	  All Rights Reserved  	*/
    28 /*	  All Rights Reserved  	*/
    28 
    29 
       
    30 
       
    31 #pragma ident	"%Z%%M%	%I%	%E% SMI"
    29 
    32 
    30 /*
    33 /*
    31 
    34 
    32  * uucp file transfer program:
    35  * uucp file transfer program:
    33  * to place a call to a remote machine, login, and
    36  * to place a call to a remote machine, login, and
    74 static void checkrmt();		/* See if we want to talk to remote. */
    77 static void checkrmt();		/* See if we want to talk to remote. */
    75 #endif /* NOSTRANGERS */
    78 #endif /* NOSTRANGERS */
    76 
    79 
    77 extern char *Mytype;
    80 extern char *Mytype;
    78 
    81 
    79 static char *pskip();
       
    80 
       
    81 int
    82 int
    82 main(argc, argv, envp)
    83 main(argc, argv, envp)
    83 int argc;
    84 int argc;
    84 char *argv[];
    85 char *argv[];
    85 char **envp;
    86 char **envp;
    86 {
    87 {
    87 
    88 
    88 	extern void intrEXIT(), onintr(), timeout();
    89 	extern void intrEXIT(), onintr(), timeout();
       
    90 	static char *pskip();
    89 	extern void setservice();
    91 	extern void setservice();
    90 #ifndef ATTSVR3
    92 #ifndef ATTSVR3
    91 	void setTZ();
    93 	void setTZ();
    92 #endif /* ATTSVR3 */
    94 #endif /* ATTSVR3 */
    93 	int ret, seq, exitcode;
    95 	int ret, seq, exitcode;