URI:
       tsuncall.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tsuncall.c (257B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <thread.h>
            4 #include <sunrpc.h>
            5 
            6 void
            7 suncallsetup(SunCall *c, SunProg *prog, uint proc)
            8 {
            9         c->rpc.prog = prog->prog;
           10         c->rpc.vers = prog->vers;
           11         c->rpc.proc = proc>>1;
           12         c->rpc.iscall = !(proc&1);
           13         c->type = proc;
           14 }