NAME¶
rfioreadopt - get RFIO options
SYNOPSIS¶
#include <sys/types.h>
#include "rfio_api.h"
int rfioreadopt (int opt)
DESCRIPTION¶
rfioreadopt returns the option value.
- opt
- can have on of the following values:
- RFIO_READOPT
- RFIO_NETOPT
- RFIO_NETRETRYOPT
- RFIO_CONNECTOPT
RETURN VALUE¶
rfioreadopt returns the option value when successful or -1 if the
operation failed. In the latter case,
serrno is set appropriately.
ERRORS¶
- EINVAL
- opt is not a valid option.
SEE ALSO¶
rfiosetopt(3),
rfio_open(3)
AUTHOR¶
LCG Grid Deployment Team