err.3 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) err.3 (823f68a28a501b4c919e2dd0327af1fd3503d3da)
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.

--- 193 unchanged lines hidden (view full) ---

202.Va errno :
203.Bd -literal -offset indent
204error = my_function(); /* returns a value from <errno.h> */
205if (error != 0)
206 warnc(error, "my_function");
207.Ed
208.Sh SEE ALSO
209.Xr exit 3 ,
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.

--- 193 unchanged lines hidden (view full) ---

202.Va errno :
203.Bd -literal -offset indent
204error = my_function(); /* returns a value from <errno.h> */
205if (error != 0)
206 warnc(error, "my_function");
207.Ed
208.Sh SEE ALSO
209.Xr exit 3 ,
210.Xr fmtmsg 3 ,
210.Xr printf 3 ,
211.Xr strerror 3
212.Sh HISTORY
213The
214.Fn err
215and
216.Fn warn
217functions first appeared in

--- 13 unchanged lines hidden ---
211.Xr printf 3 ,
212.Xr strerror 3
213.Sh HISTORY
214The
215.Fn err
216and
217.Fn warn
218functions first appeared in

--- 13 unchanged lines hidden ---