struct sftp_statvfs_struct

Overview

SFTP statvfs structure. Moreā€¦

#include <include/libssh/sftp.h>

struct sftp_statvfs_struct {
    // fields

    uint64_t f_bavail;
    uint64_t f_bfree;
    uint64_t f_blocks;
    uint64_t f_bsize;
    uint64_t f_favail;
    uint64_t f_ffree;
    uint64_t f_files;
    uint64_t f_flag;
    uint64_t f_frsize;
    uint64_t f_fsid;
    uint64_t f_namemax;
};

Detailed Documentation

SFTP statvfs structure.

Fields

uint64_t f_bavail

free blocks in file system

uint64_t f_bfree

number of blocks (unit f_frsize)

uint64_t f_blocks

fundamental fs block size

uint64_t f_favail

free file inodes

uint64_t f_ffree

total file inodes

uint64_t f_files

free blocks for non-root

uint64_t f_flag

file system id

uint64_t f_frsize

file system block size

uint64_t f_fsid

free file inodes for to non-root

uint64_t f_namemax

bit mask of f_flag values