Poster of Linux kernelThe best gift for a Linux geek
RFIO_CLOSEDIR

RFIO_CLOSEDIR

Section: Rfio Library Functions (3) Updated: $Date: 2005/03/31 13:13:02 $
Local index Up
 

NAME

rfio_closedir - close directory opened by rfio_opendir  

SYNOPSIS

#include <sys/types.h>
#include "rfio_api.h"

int rfio_closedir (RDIR *dirp);  

DESCRIPTION

rfio_closedir closes the directory opened by rfio_opendir and associated with the RDIR structure pointed by dirp.
dirp
specifies the pointer value returned by rfio_opendir.
 

RETURN VALUE

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.  

ERRORS

EBADF
File descriptor in DIR structure is invalid.
SENOSHOST
Host unknown.
SENOSSERV
Service unknown.
SETIMEDOUT
Timed out.
SEBADVERSION
Version ID mismatch.
SECOMERR
Communication error.
 

SEE ALSO

rfio_opendir(3), rfio_readdir(3), rfio_rewinddir(3)  

AUTHOR

LCG Grid Deployment Team


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:54:05 GMT, April 16, 2011