3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>ftpc_login</title>
9 <h1 align=center>ftpc_login</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#RETURNS">RETURNS</a><br>
14 <a href="#AUTHOR">AUTHOR</a><br>
15 <a href="#LICENSE">LICENSE</a><br>
16 <a href="#VERSION">VERSION</a><br>
19 <!-- Creator : groff version 1.17.2 -->
20 <!-- CreationDate: Fri Aug 30 16:16:17 2002 -->
23 <table width="100%" border=0 rules="none" frame="void"
24 cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td><td width="90%">
27 ftpc_login - Log onto the FTP server.</td></table>
28 <a name="SYNOPSIS"></a>
31 <table width="100%" border=0 rules="none" frame="void"
32 cols="2" cellspacing="0" cellpadding="0">
33 <tr valign="top" align="left">
34 <td width="10%"></td><td width="90%">
35 <pre><b>#include <pthr_ftpc.h>
37 int ftpc_login (ftpc ftpc, const char *username, const char *password);
38 </b></pre></td></table>
39 <a name="DESCRIPTION"></a>
42 <table width="100%" border=0 rules="none" frame="void"
43 cols="2" cellspacing="0" cellpadding="0">
44 <tr valign="top" align="left">
45 <td width="10%"></td><td width="90%">
46 Attempt to log onto the FTP server as user <b>username</b>
47 with password <b>password</b>. If <b>username</b> is
48 <b>NULL</b>, <b>"ftp"</b> or
49 <b>"anonymous"</b>, then log in anonymously. For
50 anonymous logins, the <b>password</b> may be <b>NULL</b>, in
51 which case the environment variable <b>LOGNAME</b> followed
52 by a single <b>@</b> character is used as the
53 password.</td></table>
54 <a name="RETURNS"></a>
57 <table width="100%" border=0 rules="none" frame="void"
58 cols="2" cellspacing="0" cellpadding="0">
59 <tr valign="top" align="left">
60 <td width="10%"></td><td width="90%">
61 0 if successful, -1 if the attempt failed. If a fatal error
62 occurs with the connection, an exception is
67 <table width="100%" border=0 rules="none" frame="void"
68 cols="2" cellspacing="0" cellpadding="0">
69 <tr valign="top" align="left">
70 <td width="10%"></td><td width="90%">
71 Richard Jones <rich@annexia.org></td></table>
72 <a name="LICENSE"></a>
75 <table width="100%" border=0 rules="none" frame="void"
76 cols="2" cellspacing="0" cellpadding="0">
77 <tr valign="top" align="left">
78 <td width="10%"></td><td width="90%">
79 GNU LGPL (see http://www.gnu.org/)</td></table>
80 <a name="VERSION"></a>
83 <table width="100%" border=0 rules="none" frame="void"
84 cols="2" cellspacing="0" cellpadding="0">
85 <tr valign="top" align="left">
86 <td width="10%"></td><td width="90%">
87 pthrlib-3.0.3</td></table>