Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gfs_glob(3) [debian man page]

GFS_GLOB(3)															       GFS_GLOB(3)

NAME
gfs_glob - find path names matching a pattern SYNOPSIS
#include <gfarm/gfarm.h> char *gfs_glob (const char * pattern, gfarm_stringlist * paths, gfs_glob_t * types); DESCRIPTION
gfs_glob() searches for all the path names matching pattern that may include a wildcard, and returns paths. The returned path names are accessed by gfarm_stringlist_length(3) and gfarm_stringlist_elem(3). It is necessary to allocate memory space dynamically pointed to by types using gfs_glob_init(3) before calling gfs_glob(3). The allocated memory space needs to be free'ed by gfs_glob_free(3). RETURN VALUES
NULL The function terminated successfully. GFARM_ERR_NO_MEMORY Insufficient memory was available. GFARM_ERR_PATHNAME_TOO_LONG Too long pattern or path name to process. Others An error except the above occurred. The reason is shown by its pointed strings. SEE ALSO
gfs_glob_init(3) gfs_glob_free(3) gfarm_stringlist_init(3) gfarm_stringlist_length(3) gfarm_stringlist_elem(3) gfarm_stringlist_free(3) gfarm_stringlist_free_deeply(3) Gfarm 30 September 2003 GFS_GLOB(3)

Check Out this Related Man Page

GFS_PIO_SET_VIEW_LOCAL(3)												 GFS_PIO_SET_VIEW_LOCAL(3)

NAME
gfs_pio_set_view_local - change file view to the corresponding fragment SYNOPSIS
#include <gfarm/gfarm.h> char *gfs_pio_set_view_local (GFS_File gf, int flags); DESCRIPTION
gfs_pio_set_view_local() changes the process's view of the data in the file specified by gf to a file fragment in the local file view. The local file view model assumes each process has its own file fragment which is specified by the argument node of gfs_pio_set_local(3). The total number of file fragments is also specified by the argument nnode of gfs_pio_set_local(3). If it is different from the total fragment number of the existent file, it is erroneous. Before changing to the local file view, it is necessary to call gfs_pio_set_local(3) in advance. Values of flag are constructed by a bitwise-inclusive-OR of GFARM_FILE_SEQUENTIAL, GFARM_FILE_REPLICATE, and GFARM_FILE_NOT_REPLICATE. For details, refer to gfs_pio_set_view_index(3). By default, Gfarm files are accessed as a whole file in global file view where each fragment can be seamlessly accessed. RETURN VALUES
NULL The function terminated successfully. GFARM_ERR_NO_MEMORY Insufficient memory was available. GFARM_ERR_OPERATION_NOT_PERMITTED The file is not a fragmented file. GFARM_ERR_FRAGMENT_NUMBER_DOES_NOT_MATCH The total number of file fragments is different from the existence one. Others An error except the above occurred. The reason is shown by its pointed strings. SEE ALSO
gfs_pio_create(3), gfs_pio_open(3), gfs_pio_set_local(3), gfs_pio_set_view_index(3) Gfarm 18 March 2003 GFS_PIO_SET_VIEW_LOCAL(3)
Man Page