summaryrefslogtreecommitdiff
path: root/lib/libc/gen/err.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not use __progname directly (except in [gs]etprogname(3)).Mark Murray2002-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. Notes: svn path=/head/; revision=93399
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-3/+0
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* Fixed tab lossage in vendor id and nearby style bugs in previous commit.Bruce Evans2002-02-011-1/+4
| | | | Notes: svn path=/head/; revision=90096
* Cut-n-paste in `list' mode considered harmful.David E. O'Brien2002-02-011-3/+3
| | | | Notes: svn path=/head/; revision=90049
* Fix SCM ID's.David E. O'Brien2002-02-011-5/+5
| | | | Notes: svn path=/head/; revision=90039
* Fixed namespace pollution related to `err' in libc in the same way as forBruce Evans2001-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. Notes: svn path=/head/; revision=86250
* Fixed namespace pollution related to `warn' in libc (but not in otherBruce Evans2001-08-291-1/+5
| | | | | | | | | libraries or for other members of the err() family). This fixes world breakage in bc and rcs/* for NOSHARED worlds. Notes: svn path=/head/; revision=82496
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Replace accidentally-deleted `x' which caused warnx() to misbehave.Garrett Wollman1998-09-151-2/+2
| | | | Notes: svn path=/head/; revision=39202
* A small last-minute iitem for 3.0:Garrett 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. Notes: svn path=/head/; revision=39112
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-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. Notes: svn path=/head/; revision=18286
* Add err_set_file() and err_set_exit() functions to make it possible forGarrett Wollman1995-04-131-14/+44
| | | | | | | | programs which use err(3) to work nicely in a wider range of environments (e.g., dialog). Notes: svn path=/head/; revision=7803
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+186
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573