gfs_opendir3
Open a directory
Usage
#include <gfarm/gfarm.h>
char *gfs_opendir (const char * gfarm_url, GFS_Dir * dirp);
Overview
The gfs_opendir() function opens a directory stream corresponding to the directory gfarm_url, and returns the directory stream to the address pointed by dirp. The stream is positioned at the first entry in the directory.
Return values
NULL
|
The function terminated successfully. |
|---|---|
|
Insufficient memory was available. |
|
User authentication failed when connecting to gfmd(8). |
|
gfarm_url points outside your accessible address space. |
|
Directory does not exist. |
|
An error except the above occurred. The reason is shown by its pointed strings. |
Releases
Unchanged in 2 releases since Debian 6.0 (Squeeze).