libssh2_sftp_open_r(3)

libssh2_sftp_open_r3

Convenience macro for libssh2_sftp_open_ex_r(3) calls

Usage

#include <libssh2.h>
#include <libssh2_sftp.h>
LIBSSH2_SFTP_HANDLE *
libssh2_sftp_open_r(LIBSSH2_SFTP *sftp, const char *filename,
                    unsigned long flags,
                    long mode,
                    LIBSSH2_SFTP_ATTRIBUTES *attrs);

Overview

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_sftp_open_ex_r(3).

Return value

See libssh2_sftp_open_ex_r(3)

Errors

See libssh2_sftp_open_ex_r(3)

Releases

Unchanged in 2 releases since Debian 13 (Trixie).

  1. 13–Arch

From libssh2 1.11.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.