diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-03 11:58:54 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-03 11:58:54 +0000 |
commit | a4480ef9cabae82a7887b55c4bc691c3d4434780 (patch) | |
tree | 46e32e7fb5ec72b94790443de1dc7372d1a9ed47 /lib/libftpio/ftpio.3 | |
parent | ff8fc6b6643b6d7414e787636faa158fbc5916d5 (diff) | |
download | FreeBSD-src-a4480ef9cabae82a7887b55c4bc691c3d4434780.zip FreeBSD-src-a4480ef9cabae82a7887b55c4bc691c3d4434780.tar.gz |
1. Add verbose flag to ftp_login()
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
Diffstat (limited to 'lib/libftpio/ftpio.3')
-rw-r--r-- | lib/libftpio/ftpio.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libftpio/ftpio.3 b/lib/libftpio/ftpio.3 index 098ce3c..df09e3a 100644 --- a/lib/libftpio/ftpio.3 +++ b/lib/libftpio/ftpio.3 @@ -43,7 +43,7 @@ .Sh SYNOPSIS .Fd #include <ftpio.h> .Ft FILE * -.Fn ftpLogin "char *host, char *user, char *passwd, int ftp_port" +.Fn ftpLogin "char *host" "char *user" "char *passwd" "int ftp_port" "int verbose" .Ft int .Fn ftpChdir "FILE *stream, char *dirname" .Ft int @@ -75,12 +75,13 @@ These functions implement a high-level library for managing FTP connections. .Fn ftpLogin attempts to log in using the supplied .Fa user , -.Fa passwd -and +.Fa passwd, .Fa ftp_port -fields (if passed as 0, +(if passed as 0, .Fa ftp_port -defaults to the standard ftp port of 21). If it is successful, a +defaults to the standard ftp port of 21) and +.Fa verbose +fields. If it is successful, a standard stream descriptor is returned which should be passed to subsequent FTP operations. On failure, NULL is returned and .Fn ftpErrno |