rfio_perror(3) print error message corresponding to the last RFIO function failure

SYNOPSIS

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

void rfio_perror (const char *umsg);

int rfio_serrno ();

char *rfio_serror ();

DESCRIPTION

rfio_serrno gets error code corresponding to the last RFIO function failure (local or remote). rfio_serror gets error message corresponding to the last RFIO function failure (local or remote). rfio_perror produces a message on standard error describing the last RFIO error. The message is prefixed with umsg followed by a colon and a blank.

RETURN VALUE

rfio_serrno returns the last error code: errno, serrno or rfio_errno. rfio_serror returns a pointer to the error string.

AUTHOR

LCG Grid Deployment Team