Module unixcli::progname [] [src]

Provides access to the name of the current program.

Functions

getprogname

Returns the name of the current program as a String. An empty string is returned if any error occurred.

getprogname_arc

Returns the name of the current program. In contrast to getprogname(), this function returns a shared OsString.

setprogname

Sets the name of the current program. The name is taken from the last component of the path.