Charles.Forsyth20060303-partialeea662d19 years agoHistory
36 lines · 1014 B · Text
RawDownload
.TH EXCEPTION 2.SH NAMEexception \- Exception module.SH SYNOPSIS.EXinclude "exception.m";exc := load Exception Exception->PATH; getexc:	fn(pid: int): (int, string, string);setexcnotifyleader:	fn(pid: int): int;setexcpropagate:	fn(pid: int): int;.EE.SH DESCRIPTION.B Exceptprovides exception-related utility routines to read or write to systemdevice files..PP.B Getexcreturns the last exception to be raised on the process with the given processid. A process id of -1 is taken to mean the current process. The returnedtriple gives the pc value, the module and the exception name or 0, nil, nilif no exception has occurred..PP.B Setexcnotifyleaderand.B setexcpropagateset 'exceptions notifyleader' and 'exceptions propagate' respectively on the givenprocess. 0 is returned on success,-1 on failure (for instance if the process is not a group leader or does not exist).See.I prog (3)for the actual meaning of these settings..SH SOURCE.B /appl/lib/exception.b.SH SEE ALSO.IR prog (3)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t