.\" .\" $Id: rfio_perror.man,v 1.1 2005/03/31 13:13:03 baud Exp $ .\" .\" @(#)$RCSfile: rfio_perror.man,v $ $Revision: 1.1 $ $Date: 2005/03/31 13:13:03 $ CERN IT-PDP/DM Jean-Philippe Baud .\" Copyright (C) 1999-2003 by CERN/IT/PDP/DM .\" All rights reserved .\" .TH RFIO_PERROR 3 "$Date: 2005/03/31 13:13:03 $" LCG "Rfio Library Functions" .SH NAME rfio_perror \- print error message corresponding to the last RFIO function failure .SH SYNOPSIS .B #include .br \fB#include "rfio_api.h"\fR .sp .BI "void rfio_perror (const char *" umsg ");" .sp .BI "int rfio_serrno ();" .sp .BI "char *rfio_serror ();" .SH DESCRIPTION .B rfio_serrno gets error code corresponding to the last RFIO function failure (local or remote). .B rfio_serror gets error message corresponding to the last RFIO function failure (local or remote). .B rfio_perror produces a message on standard error describing the last RFIO error. The message is prefixed with .I umsg followed by a colon and a blank. .SH RETURN VALUE .B rfio_serrno returns the last error code: .BR errno , .B serrno or .BR rfio_errno . .B rfio_serror returns a pointer to the error string. .SH AUTHOR \fBLCG Grid Deployment\fP Team