gfs_readdir(3)

gfs_readdir3

Read directory entry

Usage

#include <gfarm/gfarm.h>

char *gfs_readdir (GFS_Dir dir, struct gfs_dirent ** entryp);

Overview

The gfs_readdir() function reads a directory entry from dir, and returns the pointer of the entry to the address pointed to by entryp. The buffer pointed to by entryp is destroyed when calling succeeding gfs_readdir() or gfs_closedir() with the same argument dir.

Return values

NULL

The function terminated successfully.

Others

An error except the above occurred. The reason is shown by its pointed strings.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From libgfarm-dev 2.4.1-1.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.