26.12.2013 Aufrufe

Prozesskommunikation

Prozesskommunikation

Prozesskommunikation

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

C program for server procedures in Sun RPC<br />

// File S.c - server procedures for the<br />

// FileReadWriteservice<br />

#include <br />

#include <br />

#include <br />

void *write_2(writeargs *a) {<br />

Coulouris<br />

Dollimore<br />

Kindberg<br />

}<br />

// do the writing to the file<br />

Data *read_2(readargs *a) {<br />

}<br />

static Data result; //must be static<br />

result.buffer = ... //do the reading from the file<br />

result.length = ... //amount read from the file<br />

return &result;<br />

Betriebssysteme WS 2012, ProzessKommVS 51<br />

Hermann Härtig, TU Dresden

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!