summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/err.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-291-8/+7
| | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
* Fix the style of the SCM ID's.obrien2002-03-221-3/+0
| | | | I believe have made all of libc .c's as consistent as possible.
* Fixed tab lossage in vendor id and nearby style bugs in previous commit.bde2002-02-011-1/+4
|
* Cut-n-paste in `list' mode considered harmful.obrien2002-02-011-3/+3
|
* Fix SCM ID's.obrien2002-02-011-5/+5
|
* Fixed namespace pollution related to `err' in libc in the same way as forbde2001-11-111-1/+3
| | | | | | | | `warn'. Now a whole 2 members of the err() family don't cause pollution. This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0.
* Fixed namespace pollution related to `warn' in libc (but not in otherbde2001-08-291-1/+5
| | | | | | libraries or for other members of the err() family). This fixes world breakage in bc and rcs/* for NOSHARED worlds.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Replace accidentally-deleted `x' which caused warnx() to misbehave.wollman1998-09-151-2/+2
|
* A small last-minute iitem for 3.0:wollman1998-09-121-75/+67
| | | | | | | | | - 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.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-4/+4
| | | | | | 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.
* Add err_set_file() and err_set_exit() functions to make it possible forwollman1995-04-131-14/+44
| | | | | programs which use err(3) to work nicely in a wider range of environments (e.g., dialog).
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+186
OpenPOWER on IntegriCloud