mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	Also: - switch to non-deprecated alternative in examples. - add pointers and deprecation warning to libssh2_scp_send man page. Cherry-picked from #1484
		
			
				
	
	
		
			27 lines
		
	
	
		
			807 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			807 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
.\" Copyright (C) The libssh2 project and its contributors.
 | 
						|
.\" SPDX-License-Identifier: BSD-3-Clause
 | 
						|
.TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
 | 
						|
.SH NAME
 | 
						|
libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls
 | 
						|
.SH SYNOPSIS
 | 
						|
.nf
 | 
						|
#include <libssh2.h>
 | 
						|
 | 
						|
LIBSSH2_CHANNEL *
 | 
						|
libssh2_scp_send(LIBSSH2_SESSION *session, const char *path,
 | 
						|
                 int mode, size_t size);
 | 
						|
.fi
 | 
						|
.SH DESCRIPTION
 | 
						|
This is a macro defined in a public libssh2 header file that is using the
 | 
						|
underlying function \fIlibssh2_scp_send_ex(3)\fP.
 | 
						|
 | 
						|
This macro has been deemed deprecated since libssh2 1.2.6. See
 | 
						|
\fIlibssh2_scp_send64(3)\fP.
 | 
						|
.SH RETURN VALUE
 | 
						|
See \fIlibssh2_scp_send_ex(3)\fP
 | 
						|
.SH ERRORS
 | 
						|
See \fIlibssh2_scp_send_ex(3)\fP
 | 
						|
.SH SEE ALSO
 | 
						|
.BR libssh2_scp_send_ex(3),
 | 
						|
.BR libssh2_scp_send64(3)
 |