1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/docs/libssh2_sftp_readlink.md
Viktor Szakats b6f307dca9 tidy-up: add missing, and drop redundant parentheses
Also:
- apply minor whitespace fixes.
- VMS/man2help.c: clarify `if` expression, drop redundant `else`
  expression.

Follow-up to 6e47049cff #1844

Closes #1898
2026-04-29 19:52:56 +02:00

803 B

c, SPDX-License-Identifier, Title, Section, Source, See-also
c SPDX-License-Identifier Title Section Source See-also
Copyright (C) The libssh2 project and its contributors. BSD-3-Clause libssh2_sftp_readlink 3 libssh2
libssh2_sftp_symlink_ex(3)

NAME

libssh2_sftp_readlink - convenience macro for libssh2_sftp_symlink_ex(3)

SYNOPSIS

#include <libssh2.h>
#include <libssh2_sftp.h>

#define libssh2_sftp_readlink(sftp, path, target, maxlen) \
    libssh2_sftp_symlink_ex(sftp, path, strlen(path), \
                            target, maxlen, \
                            LIBSSH2_SFTP_READLINK)

DESCRIPTION

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

RETURN VALUE

See libssh2_sftp_symlink_ex(3)

ERRORS

See libssh2_sftp_symlink_ex(3)