📄 cerror.s
字号:
#@(#)cerror.s 4.1 Ultrix 7/3/90# Copyright (c) 1982 Regents of the University of California## static char sccsid[] = "@(#)cerror.s 1.3 9/2/82";## static char rcsid[] = "$Header: cerror.s,v 1.3 84/03/27 10:19:51 linton Exp $";## modified version of cerror## The idea is that every time an error occurs in a system call# I want a special function "syserr" called. This function will# either print a message and exit or do nothing depending on# defaults and use of "onsyserr".#.globl cerror.comm _errno,4cerror: movl r0,_errno calls $0,_syserr # new code mnegl $1,r0 ret.globl __mycerror # clumsy way to get this loaded__mycerror: .word 0 ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -