Esempio n. 1
0
int main(int argc, char** argv) {
  char buf[10];
  call_read(read, 0, buf, sizeof(buf));
  call_write(write, 1, buf, sizeof(buf));
  call_either(read, 0, buf, sizeof(buf));
  call_either(write, 1, buf, sizeof(buf));
}
Esempio n. 2
0
int main(int argc, char* argv)
{
    call_read();
    return 0;
}