program_invocation_name, program_invocation_short_name − obtain name used to invoke calling program
_GNU_SOURCE /* See feature_test_macros(7) */
extern char *program_invocation_short_name;
program_invocation_name contains the name that was used to invoke the calling program. This is the same as the value of argv in main(), with the difference that the scope of program_invocation_name is global.
program_invocation_short_name contains the basename component of name that was used to invoke the calling program. That is, it is the same value as program_invocation_name, with all text up to and including the final slash (/), if any, removed.
These variables are automatically initialized by the glibc run-time startup code.
These variables are GNU extensions, and should not be used in programs intended to be portable.
The Linux-specific /proc/[number]/cmdline file provides access to similar information.
This page is part of release 3.69 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man−pages/.
More Linux Commands
gnutls_x509_crq_get_key_purpose_oid(3) - API function.......
gnutls_x509_crq_get_key_purpose_oid.3 - This function will extract the key purpose OIDs of the Certificate specified by the given index. These are stored in the
mkfontscale(1) - create an index of scalable font files for
For each directory argument, mkfontscale reads all of the scalable font files in the directory. For every font file found, an X11 font name (XLFD) is generated,
setrpcent(3) - get RPC entry (Library - Linux man page).....
setrpcent.3 - The getrpcent(), getrpcbyname(), and getrpcbynumber() functions each return a pointer to an object with the following structure containing the bro
cargl(3) - calculate the complex argument - Linux man page
A complex number can be described by two real coordinates. One may use rectangular coordinates and gets z = x + I * y where x = creal(z) and y = cimag(z). Or on
XtInitialize(3) - initialize (Library - Linux man page).....
XtInitialize calls XtToolkitInitialize followed by XtOpenDisplay with display_string NULL and application_name NULL, and finally calls XtAppCreateShell with app
gpg(1) - OpenPGP encryption and signing tool (Man Page).....
gpg2 is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a tool to provide digital encryption and signing services using the OpenPGP standard. gpg2 feat
pano_modify(1) - Change output parameters of project file...
pano_modify modifies a single Hugin .pto project. OPTIONS -o, --output=file.pto Output Hugin PTO file. Default: <filename>_mod.pto -p, --projection=NUMBER Sets
XtVaCreatePopupShell(3) - create a popup shell (Man Page)...
The XtCreatePopupShell function ensures that the specified class is a subclass of Shell and, rather than using insert_child to attach the widget to the parents
gnutls_certificate_set_dh_params(3) - API function (ManPage)
This function will set the Diffie-Hellman parameters for a certificate server to use. These parameters will be used in Ephemeral Diffie-Hellman cipher suites. N
_tracechtype(3ncurses) - curses debugging routines (ManPage)
The trace routines are used for debugging the ncurses libraries, as well as applications which use the ncurses libraries. These functions are normally available
current_item(3menu) - set and get current_menu_item.........
The function set_current_item sets the current item (the item on which the menu cursor is positioned). current_item returns a pointer to the current item in the
This allows setting a preferred key id for the given certificate. This key will be used by functions that involve key handling. RETURNS On success, 0 is returne