IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 3 > program_invocation_short_name man page

program_invocation_short_name man page

Section 3 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


PROGRAM_INVOCATION_NAME(3)                          PROGRAM_INVOCATION_NAME(3)



NAME
       program_invocation_name,  program_invocation_short_name  -  obtain name
       used to invoke calling program

SYNOPSIS
       #define _GNU_SOURCE
       #include <errno.h>

       extern char *program_invocation_name;
       extern char *program_invocation_short_name;

DESCRIPTION
       program_invocation_name contains the name that was used to  invoke  the
       calling  program.   This is the same as the value of argv[0] 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 initialised  by  the  glibc  run-time
       startup code.

NOTES
       The Linux-specific /proc/[number]/cmdline file provides access to simi-
       lar information.

CONFORMING TO
       These variables are GNU extensions, and should not be used in  programs
       intended to be portable.

SEE ALSO
       proc(5)



GNU                               2006-04-29        PROGRAM_INVOCATION_NAME(3)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:35:58 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6177 hits)
(FreeBSD 6.2)

sqlite3 man page (5605 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5048 hits)
(Solaris 10 11_06)

CPAN man page (4792 hits)
(Suse Linux 10.1)

ssh man page (4439 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3532 hits)
(Solaris 10 11_06)

signal man page (3403 hits)
(Suse Linux 10.1)

netcat man page (3393 hits)
(Suse Linux 10.1)

pprosetup man page (2907 hits)
(Solaris 10 11_06)

startproc man page (2748 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: PYRENEES ACTIVITY HOLIDAYS :: USB Temperature Monitor :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum