Table of Contents
gfs_all_create - create a fork in every subfile
#include <gfs.h>
int gfs_all_create(int fid,char *name);
gfs_all_create attempts to create a fork named name , within
every subfile of the previously opened file, fid .
gfs_all_create returns 0 if the fork was successfully
created in every subfile, or -1 if an error occurred (in
which case, gfs_errno is set appropriately). If an error
occurs, gfs_all_create will clean up after itself. That is,
it will not leave the new fork created in only a subset of
the subfiles. If the fork already exists in some subset of
the files, the existing forks will not be affected by this
call.
GFS_EEXIST
name already exists within one or more subfiles.
- GFS_ENAMETOOLONG
-
name was too long.
- GFS_ENOSPC
-
name was to be created, but there was no room on one or
more disks for the new fork.
Table of Contents