X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/b6b9d458c78364bdbbd7fbd7ec543bc364014b45..9b5ac6ff2ef1b71e7ec53c756cad37b1844b9d1e:/man/exc.3 diff --git a/man/exc.3 b/man/exc.3 index 368a6f8..d4c7eb9 100644 --- a/man/exc.3 +++ b/man/exc.3 @@ -11,11 +11,26 @@ .sp 1 .fi .. -.TH exc 3mLib "20 June 1999" mLib +.TH exc 3 "20 June 1999" "Straylight/Edgeware" "mLib utilities library" .SH NAME exc \- exception handling for C programs +.\" @TRY +.\" @CATCH +.\" @END_TRY +.\" @THROW +.\" @RETHROW +.\" +.\" @exc_uncaught +.\" +.\" @EXC_PAIR +.\" @EXC_ALLOC +.\" @EXC_ALLOCN +.\" @EXC_ALLOCI +.\" @EXC_ALLOCP +.\" @EXC_ALLOCS +.\" .SH SYNOPSIS -.B "#include +.B "#include " .sp 1 .B TRY .I statement @@ -239,12 +254,14 @@ the signal number. String data. Signals a miscellaneous failure. The data is a pointer to an explanatory string. .SH BUGS -The call to an exception handler is acheived using +The call to an exception handler is achieved using .BR longjmp (3). Therefore all the caveats about .B longjmp and automatic data apply. Also, note that status such as the signal mask is not reset, so you might have to do that manually in order to recover from a signal. +.SH "SEE ALSO" +.BR mLib (3). .SH AUTHOR -Mark Wooding, +Mark Wooding,