1 --- err.3.orig 2009-11-07 14:51:37.000000000 -0800
2 +++ err.3 2009-11-07 14:51:40.000000000 -0800
4 .\" From: @(#)err.3 8.1 (Berkeley) 6/9/93
5 .\" $FreeBSD: src/lib/libc/gen/err.3,v 1.24 2008/10/31 15:14:40 rwatson Exp $
16 +#ifdef UNIFDEF_BLOCKS
20 .Nd formatted error messages
23 .Fn err "int eval" "const char *fmt" "..."
25 .Fn err_set_exit "void (*exitf)(int)"
26 +#ifdef UNIFDEF_BLOCKS
28 +.Fn err_set_exit_b "void (^exitb)(int)"
31 .Fn err_set_file "void *vfp"
33 @@ -165,6 +172,24 @@ function can be used to specify a functi
34 to perform any necessary cleanup; passing a null function pointer for
36 resets the hook to do nothing.
37 +#ifdef UNIFDEF_BLOCKS
42 +except it takes a block pointer instead of a function pointer.
43 +.Bd -ragged -offset indent
50 +to make a copy of the block, especially for the case when a stack-based
51 +block might go out of scope when the subroutine returns.
57 function sets the output stream used by the other functions.
58 @@ -231,3 +256,8 @@ and
60 functions first appeared in
62 +#ifdef UNIFDEF_BLOCKS
65 +function first appeared in Mac OS X 10.6.