mirror of
https://github.com/libssh2/libssh2.git
synced 2025-04-26 16:48:48 +03:00
- add missing `.fi` tags. - fix misplaced `.nf` tags. - add `.nf`/`.fi` tags `SYNOPSIS` where missing. - fix missing/wrong function name from `SH NAME`. - fix wrong function name in `TH`. - keep return values in a separate line. - indent. - fold long lines. - deleted `libssh2_channel_direct_streamlocal()`, there is no such function. - add missing types. - add missing headers. Closes #949
22 lines
624 B
Groff
22 lines
624 B
Groff
.TH libssh2_free 3 "13 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
|
|
.SH NAME
|
|
libssh2_free - deallocate libssh2 memory
|
|
.SH SYNOPSIS
|
|
.nf
|
|
#include <libssh2.h>
|
|
|
|
void
|
|
libssh2_free(LIBSSH2_SESSION *session, void *ptr);
|
|
.fi
|
|
.SH DESCRIPTION
|
|
Deallocate memory allocated by earlier call to libssh2 functions. It
|
|
uses the memory allocation callbacks provided by the application, if
|
|
any. Otherwise, this will just call free().
|
|
|
|
This function is mostly useful under Windows when libssh2 is linked to
|
|
one run-time library and the application to another.
|
|
.SH AVAILABILITY
|
|
Added in libssh2 1.2.8
|
|
.SH SEE ALSO
|
|
.BR libssh2_session_init_ex(3)
|