Table of Contents

NAME

gfs_numsubfiles - how many subfiles in a file.

SYNOPSIS

#include <gfs.h>

int gfs_numsubfiles(int file_id);

DESCRIPTION

gfs_numsubfiles returns the number of disks the file file_id is distributed across.

RETURN VALUE

gfs_numsubfiles Returns the number of subfiles in the file, or -1 on an error.

ERRORS

GFS_EINVAL
file_id is not a valid file id.


Table of Contents