rfio_pwrite man page

RFIO_PWRITE(3)              Rfio Library Functions              RFIO_PWRITE(3)

[1mNAME[0m
      rfio_pwrite - writes to a file

[1mSYNOPSIS[0m
      [1m#include <sys/types.h>[0m
      [1m#include "rfio_api.h"[0m

      [1mint rfio_pwrite (char *[4m[22mptr[24m[1m, int [4m[22msize[24m[1m, int [4m[22mitems[24m[1m, FILE *[4m[22mfd[24m[1m);[0m

[1mDESCRIPTION[0m
      [1mrfio_pwrite  [22mstores  in a file the bytes starting at [1mptr [22m, a pointer to
      the memory location in which resides the information, [1mitems [22mtimes  [1msize[0m
      bytes, using the descriptor [1mfd [22mgenerated by a previous [1mrfio_popen[22m.

[1mRETURN VALUE[0m
      This  routine returns -1 if the operation failed or the number of items
      actually writen. In case of failure, [1mserrno [22mis set appropriately.

[1mERRORS[0m
      [1mEBADF        [4m[22mfd[24m is a NULL pointer.

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSETIMEDOUT   [22mTimed out.

      [1mSEBADVERSION [22mVersion ID mismatch.

      [1mSECONNDROP   [22mConnection closed by remote end.

      [1mSECOMERR     [22mCommunication error.

      [1mSENORCODE    [22mHost did not return error number.

[1mSEE ALSO[0m
      [1mrfio_popen(3)[0m

[1mAUTHOR[0m
      [1mLCG Grid Deployment [22mTeam

LCG                      $Date: 2008/09/24 11:25:01 $           RFIO_PWRITE(3)