summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setprogname.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not use __progname directly (except in [gs]etprogname(3)).Mark Murray2002-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. Notes: svn path=/head/; revision=93399
* Fix SCM ID's.David E. O'Brien2002-02-011-4/+2
| | | | Notes: svn path=/head/; revision=90039
* Expand the ?: construct into an if/else.Dima Dorfman2001-08-211-1/+4
| | | | | | | Submitted by: nectar Notes: svn path=/head/; revision=82089
* Fix style bug.Dima Dorfman2001-08-211-1/+1
| | | | Notes: svn path=/head/; revision=82086
* Fixed warnings.Ruslan Ermilov2001-08-211-1/+2
| | | | Notes: svn path=/head/; revision=82081
* Pass the pointy hat, please.Jacques Vidrine2001-08-211-2/+4
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=82077
* setprogname() should set __progname to the last component of the givenJacques Vidrine2001-08-211-1/+3
| | | | | | | path. Notes: svn path=/head/; revision=82075
* Introduce getprogname(3) and setprogname(3) library calls. These getDima Dorfman2001-05-151-0/+13
and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD Notes: svn path=/head/; revision=76653