28.10.2014 Views

Synergy User Manual and Tutorial. - THE CORE MEMORY

Synergy User Manual and Tutorial. - THE CORE MEMORY

Synergy User Manual and Tutorial. - THE CORE MEMORY

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Synergy</strong> <strong>User</strong> <strong>Manual</strong> <strong>and</strong> <strong>Tutorial</strong><br />

RETURNS:<br />

int tp_len<br />

int e_type<br />

int status - number of bytes read, 0 if error writing or an error code<br />

or –1 on error<br />

cnf_xdr_write(id, buf, bufsize, e_type)<br />

PURPOSE: Translates a 'record` to it's external data representation <strong>and</strong> sends it<br />

to file (or mailbox or decnet channel) from buffer (starting at address xdr_buff).<br />

PARAMETERS: int id – The index into cnf_map global data structure where the<br />

actual channel number or file pointer is stored<br />

char *buf -<br />

int bufsize – the number of bytes to send<br />

int e_type -<br />

RETURNS: 1 if successful or an error code or –1 on error<br />

PURPOSE:<br />

PARAMETERS:<br />

RETURNS:<br />

211

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!