home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_09
/
8n09067a
< prev
next >
Wrap
Text File
|
1990-06-01
|
1KB
|
26 lines
Listing 1 - 'r'-function declarations
RFILE *rfopen(sfname, sftype) /* Opens a file on a File Server */
char *sfname; /* <server-name>!<file-name> */
char *sftype; /* file access type - same as fopen */
int rfclose(rstream) /* Closes file on a File Server */
RFILE *rstream; /* rfile pointer from rfopen routine */
int rfread(buf, size, nitems, rstream) /* Reads data from a remote file */
char *buf; /* application buffer for data */
int size; /* size of item to read */
int nitems; /* number of items to read */
RFILE *rstream; /* rfile pointer from rfopen */
int rfwrite(buf, size, nitems, rstream) /* Writes data to a remote file */
char *buf; /* application buffer for data */
int size; /* size of item to write */
int nitems; /* number of items to write */
RFILE *rstream; /* rfile pointer from rfopen */
int rfeof(rstream) /* Test for End-of-File */
RFILE *rstream; /* rfile pointer from rfopen routine */