Query: ftpsystype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FtpSysType(3) Library Functions Manual FtpSysType(3)NAMEFtpSysType - Determine system type of remote server.SYNOPSIS#include <ftplib.h> int FtpSysType(char *buf, int max, netbuf *nControl);PARAMETERSbuf A pointer to a buffer where the result will be returned. max Specifies the size of the user buffer. nControl A handle returned by FtpConnect().DESCRIPTIONFtpSysType() issues a SYST command to the remote system and attempts to parse the system type out of the response and return it to the user's buffer.RETURN VALUEReturns 1 if successful or 0 on error. FTPlib 20 June 1998 FtpSysType(3)