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: <@(#)_exit.s	3.0 (2.11BSD GTE) 3/13/93\0>
   9:         .even
  10: #endif SYSLIBC_SCCS
  11: 
  12: #include "SYS.h"
  13: 
  14: ENTRY(_exit)
  15:         SYS(exit)
      /
      /   trap 1 -> [kernel] -> syscall() -> via sysent[] -> handler: rexit
      /
  16: /* NOTREACHED */
  17: 
  18:         .globl  x_norm
  19:         .globl  x_error
  20: x_norm:
  21:         bcc     1f
  22: x_error:
  23:         mov     r0,_errno
  24:         mov     $-1,r0
  25: 1:      rts     pc

Defined functions

__exit defined in line 14; used 115 times
_sccsid defined in line 8; never used
x_norm declared in line 18; defined in line 20; used 3 times
Last modified: 1993-03-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 333
Valid CSS Valid XHTML 1.0 Strict