aboutsummaryrefslogtreecommitdiff
path: root/include/err.h
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50473
* Don't forget to use the appropriate __printf*like attribute for verr*Bruce Evans1998-11-221-11/+14
| | | | | | | | | | | and vwarn*. Sorted attributes. UnFrom'ed vendor id. Notes: svn path=/head/; revision=41284
* Add support for -Wformat consistency checking between format stringsJohn Polstra1998-10-291-7/+7
| | | | | | | | | | and their argument lists for the err(3) family of functions. Note, I intentionally used __printflike instead of __printf0like for warnx. Although a NULL format string is legal for that function, it doesn't make any sense. Notes: svn path=/head/; revision=40739
* A small last-minute iitem for 3.0:Garrett Wollman1998-09-121-1/+6
| | | | | | | | | | | | - Fix some style errors I made back in 1995. - Add a new flavor of the err(3) family, which takes an explicit errno argument rather than implicitly examining errno. This will make it easier to use these functions in conjunction with modern library interfaces that return an errno value explicitly. Notes: svn path=/head/; revision=39112
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-09-141-10/+10
| | | | | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong. Notes: svn path=/head/; revision=18286
* Add err_set_file() and err_set_exit() functions to make it possible forGarrett Wollman1995-04-131-0/+2
| | | | | | | | programs which use err(3) to work nicely in a wider range of environments (e.g., dialog). Notes: svn path=/head/; revision=7803
* Declare functions that don't return as having attribute __dead2.Bruce Evans1994-09-081-4/+4
| | | | Notes: svn path=/head/; revision=2572
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+60
Notes: svn path=/head/; revision=1539