1: / pid	= wait(status);
   2: /	  int *status;
   3: 
   4: .globl  _wait
   5: .globl  cerror
   6: 
   7: _wait:
   8:         mov     r5,-(sp)
   9:         mov     sp,r5
  10:         sys     wait
  11:         bec     1f
  12:         jmp     cerror
  13: 1:
  14:         tst     4(r5)
  15:         beq     1f
  16:         mov     r1,*4(r5)
  17: 1:
  18:         mov     (sp)+,r5
  19:         rts     pc

Defined functions

_wait declared in line 4; defined in line 7; used 123 times
Last modified: 1982-12-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 846
Valid CSS Valid XHTML 1.0 Strict