logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gfs_pio_close - close a file in the Gfarm file system

Description

gfs_pio_close() closes a file gf, so that it no longer refers to any file and may be reused.

Name

       gfs_pio_close - close a file in the Gfarm file system

Return Values

GFARM_ERR_NO_ERROR
           The function terminated successfully.

       GFARM_ERR_BAD_FILE_DESCRIPTOR
           The file descripter specified by gfp is not a valid open file descriptor.

       GFARM_ERR_NO_MEMORY
           Insufficient memory was available.

       Others
           An error except the above occurred. The reason is shown by gfarm_error_string(3).

See Also

gfs_pio_create(3), gfs_pio_open(3)

Gfarm                                              20 Jun 2019                                  GFS_PIO_CLOSE(3)

Synopsis

#include<gfarm/gfarm.h>gfarm_error_tgfs_pio_close(GFS_Filegf);

See Also