Below a patch to fix a wrong parameter list in quick_exit(3). The paragraph about `status` is copied from exit(3). This should really be changed because the man page also claims C11 conformance at the end.
Cheers, Timo Buhrmester --- lib/libc/stdlib/quick_exit.3.orig +++ lib/libc/stdlib/quick_exit.3 @@ -36,7 +36,7 @@ .Sh SYNOPSIS .In stdlib.h .Ft _Noreturn void -.Fn quick_exit "void" +.Fn quick_exit "int status" .Sh DESCRIPTION The .Fn quick_exit @@ -45,6 +45,15 @@ with .Xr at_quick_exit 3 but not any C++ destructors or cleanup code registered with .Xr atexit 3 . +.Pp +The +.Fa status +values +.Dv EXIT_SUCCESS +and +.Dv EXIT_FAILURE +can be used to indicate successful and unsuccessful +termination, respectively. .Sh RETURN VALUES The .Fn quick_exit