History log of /freebsd-9.3-release/lib/libc/gen/setprogname.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 93399 29-Mar-2002 markm

Do not use __progname directly (except in [gs]etprogname(3)).
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.


# 90039 31-Jan-2002 obrien

Fix SCM ID's.


# 82089 21-Aug-2001 dd

Expand the ?: construct into an if/else.

Submitted by: nectar


# 82086 21-Aug-2001 dd

Fix style bug.


# 82081 21-Aug-2001 ru

Fixed warnings.


# 82077 21-Aug-2001 nectar

Pass the pointy hat, please.

Submitted by: ru


# 82075 21-Aug-2001 nectar

setprogname() should set __progname to the last component of the given
path.


# 76653 15-May-2001 dd

Introduce getprogname(3) and setprogname(3) library calls. These get
and set __progname, respectively.

Discussed on: -arch (Feb 2001), -audit
Reviewed by: -audit
Approved by: kris
Obtained from: (mostly) NetBSD