gfs_stat
get file status
- Provided by: libgfarm-dev (Version: 2.7.20+dfsg-1.3)
- Source: gfarm
- Report a bug
get file status
#include <gfarm/gfarm.h>
gfarm_error_t gfs_stat(const char * gfarm_url, struct gfs_stat * status);
gfs_stat() return information about the specified file pointed to by gfarm_url, and fills in the buffer pointed to by status. Since status includes a pointer to dynamically allocated memory space, it is necessary to free the memory space by gfs_stat_free(3).
GFARM_ERR_NO_ERROR
GFARM_ERR_NO_MEMORY
GFARM_ERR_AUTHENTICATION
GFARM_ERR_PERMISSION_DENIED
GFARM_ERR_NO_SUCH_OBJECT
GFARM_ERR_NOT_A_DIRECTORY
Others