next up previous contents
Next: Loopback driver service Up: Egy STREAMS loopback Previous: Loopback driver open

Loopback driver close rutin

lpbkclose(q)
  queue_t *q;
{
   /* Allitsuk be, hogy a queue mar nincs hasznalva */

   ((struct lpbk *)(q->q_ptr))->lpbk_state &= \verb! !LPBKOPEN;
   ((struct lpbk *)(q->q_ptr))->lpbk_rdq = NULL;
   flushq(WR(q), 1);
}



Csizmazia Balazs
Tue Apr 2 00:06:27 MET DST 1996