1: /*
   2:  * Copyright (c) 1987 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifdef SYSLIBC_SCCS
   8: _sccsid: <@(#)ptrace.s	2.6 (2.11BSD GTE) 1995/05/08\0>
   9:         .even
  10: #endif SYSLIBC_SCCS
  11: 
  12: #include "SYS.h"
  13: 
  14: ENTRY(ptrace)
  15:         clr     _errno          / -1 is a legitimate return value so we must
  16:         SYS(ptrace)             /   clear errno so the caller may
      /
      /   trap 26 -> [kernel] -> syscall() -> via sysent[] -> handler: ptrace
      /
  17:         bes     error           /   disambiguate
  18:         rts     pc
  19: error:
  20:         jmp     x_error

Defined functions

_sccsid defined in line 8; never used
error defined in line 19; used 1 times
  • in line 17
Last modified: 1995-05-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 485
Valid CSS Valid XHTML 1.0 Strict