29 lines · 877 B · Text
RawDownload
.\".\" Copyright (c) 2009 by Daniel Stenberg.\".TH libssh2_knownhost_writefile 3 "28 May 2009" "libssh2 1.2" "libssh2 manual".SH NAMElibssh2_knownhost_writefile - write a collection of known hosts to a file.SH SYNOPSIS#include <libssh2.h> int libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,                                const char *filename, int type);.SH DESCRIPTIONWrites all the known hosts to the specified file using the specified fileformat. \fIfilename\fP specifies what filename to create \fItype\fP specifies what file type it is, and\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supportedformat..SH RETURN VALUEReturns a regular libssh2 error code, where negative values are error codesand 0 indicates success..SH AVAILABILITYAdded in libssh2 1.2.SH SEE ALSO.BR libssh2_knownhost_readfile(3).BR libssh2_knownhost_add(3) 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t