rfioreadopt3
Get rfio options
Usage
#include <sys/types.h>
#include "rfio_api.h"
int rfioreadopt (int opt)
Overview
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.
Releases
Unchanged in 5 releases since Debian 6.0 (Squeeze).