cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

libssh2_sftp_mkdir_ex.3 (1454B)


      1.TH libssh2_sftp_mkdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
      2.SH NAME
      3libssh2_sftp_mkdir_ex - create a directory on the remote file system
      4.SH SYNOPSIS
      5.nf
      6#include <libssh2.h>
      7#include <libssh2_sftp.h>
      8
      9int
     10libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp,
     11                      const char *path, unsigned int path_len,
     12                      long mode);
     13
     14int
     15libssh2_sftp_mkdir(LIBSSH2_SFTP *sftp,
     16                   const char *path,
     17                   long mode);
     18.fi
     19.SH DESCRIPTION
     20\fIsftp\fP - SFTP instance as returned by
     21.BR libssh2_sftp_init(3)
     22
     23\fIpath\fP - full path of the new directory to create. Note that the new
     24directory's parents must all exist prior to making this call.
     25
     26\fIpath_len\fP - length of the full path of the new directory to create.
     27
     28\fImode\fP - directory creation mode (e.g. 0755).
     29
     30Create a directory on the remote file system.
     31.SH RETURN VALUE
     32Return 0 on success or negative on failure.
     33LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
     34LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
     35.SH ERRORS
     36\fILIBSSH2_ERROR_ALLOC\fP -  An internal memory allocation call failed.
     37
     38\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
     39
     40\fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
     41
     42\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
     43received on the socket, or an SFTP operation caused an errorcode to be
     44returned by the server.
     45.SH SEE ALSO
     46.BR libssh2_sftp_open_ex(3)