err.3 (e57c2b130f2cd40967cf20698d376cc5ada95871) | err.3 (faf6e9484fea15e748c9a8408531802da59f5cc4) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" From: @(#)err.3 8.1 (Berkeley) 6/9/93 29.\" $FreeBSD$ 30.\" | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" From: @(#)err.3 8.1 (Berkeley) 6/9/93 29.\" $FreeBSD$ 30.\" |
31.Dd March 6, 1999 | 31.Dd March 29, 2012 |
32.Dt ERR 3 33.Os 34.Sh NAME 35.Nm err , 36.Nm verr , 37.Nm errc , 38.Nm verrc , 39.Nm errx , --- 167 unchanged lines hidden (view full) --- 207 warnc(error, "my_function"); 208.Ed 209.Sh SEE ALSO 210.Xr exit 3 , 211.Xr fmtmsg 3 , 212.Xr printf 3 , 213.Xr strerror 3 , 214.Xr sysexits 3 | 32.Dt ERR 3 33.Os 34.Sh NAME 35.Nm err , 36.Nm verr , 37.Nm errc , 38.Nm verrc , 39.Nm errx , --- 167 unchanged lines hidden (view full) --- 207 warnc(error, "my_function"); 208.Ed 209.Sh SEE ALSO 210.Xr exit 3 , 211.Xr fmtmsg 3 , 212.Xr printf 3 , 213.Xr strerror 3 , 214.Xr sysexits 3 |
215.Sh STANDARDS 216The 217.Fn err 218and 219.Fn warn 220families of functions are BSD extensions. 221As such they should not be used in truly portable code. 222Use 223.Fn strerror 224or similar functions instead. |
|
215.Sh HISTORY 216The 217.Fn err 218and 219.Fn warn 220functions first appeared in 221.Bx 4.4 . 222The 223.Fn err_set_exit 224and 225.Fn err_set_file 226functions first appeared in 227.Fx 2.1 . 228The 229.Fn errc 230and 231.Fn warnc 232functions first appeared in 233.Fx 3.0 . | 225.Sh HISTORY 226The 227.Fn err 228and 229.Fn warn 230functions first appeared in 231.Bx 4.4 . 232The 233.Fn err_set_exit 234and 235.Fn err_set_file 236functions first appeared in 237.Fx 2.1 . 238The 239.Fn errc 240and 241.Fn warnc 242functions first appeared in 243.Fx 3.0 . |