1: /*	@(#)ioctl.s	2.2	SCCS id keyword	*/
   2: / C library -- ioctl
   3: 
   4: / ioctl(fdes, command, arg)
   5: / struct * arg;
   6: /
   7: / result == -1 if error
   8: 
   9: .globl  _ioctl, cerror
  10: 
  11: _ioctl:
  12:         mov     r5,-(sp)
  13:         mov     sp,r5
  14:         mov     8(r5), -(sp)
  15:         mov     6(r5), -(sp)
  16:         mov     4(r5), -(sp)
  17:         sys     ioctl+200
  18:         bec     1f
  19:         add     $6, sp
  20:         jmp     cerror
  21: 1:
  22:         add     $6, sp
  23:         mov     (sp)+,r5
  24:         clr     r0
  25:         rts     pc

Defined functions

_ioctl declared in line 9; defined in line 11; used 1 times
  • in line 9
Last modified: 1982-10-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 567
Valid CSS Valid XHTML 1.0 Strict