summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setprogname.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-291-1/+1
| | | | | | 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 SCM ID's.obrien2002-02-011-4/+2
|
* Expand the ?: construct into an if/else.dd2001-08-211-1/+4
| | | | Submitted by: nectar
* Fix style bug.dd2001-08-211-1/+1
|
* Fixed warnings.ru2001-08-211-1/+2
|
* Pass the pointy hat, please.nectar2001-08-211-2/+4
| | | | Submitted by: ru
* setprogname() should set __progname to the last component of the givennectar2001-08-211-1/+3
| | | | path.
* Introduce getprogname(3) and setprogname(3) library calls. These getdd2001-05-151-0/+13
and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
OpenPOWER on IntegriCloud