Logo Search packages:      
Sourcecode: cbmlink version File versions  Download package

int rdfile_raw ( const struct comm comm,
FILE *  file,
char *  buf 
)

copy a file

Parameters:
comm the communication primitives
file output file (0=none)
buf (in) the file name, (out) at most 256 bytes of data
Returns:
zero on success, nonzero on error

Definition at line 294 of file rdfile.c.

References rdfile_do().

Referenced by m_w(), and qdisk_format().

{
  buf[1 + (unsigned) (unsigned char)*buf] = 0;
  return rdfile_do (comm, file, buf, 0);
}


Generated by  Doxygen 1.6.0   Back to index