OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / program_invocation_name.3
index 12a5499..5b1edb2 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(PERMISSIVE_MISC)
 .\" Permission is hereby granted, free of charge, to any person obtaining
 .\" a copy of this software and associated documentation files (the
 .\" "Software"), to deal in the Software without restriction, including
 .\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 .\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 .\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+.\" %%%LICENSE_END
+.\"
 .TH INVOCATION_NAME 3 2006-04-29 "GNU" "Linux Programmer's Manual"
 .SH NAME
 program_invocation_name, program_invocation_short_name \- \
 obtain name used to invoke calling program
 .SH SYNOPSIS
 .nf
-.B #define _GNU_SOURCE
+.BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <errno.h>
 
 .BI "extern char *" program_invocation_name ;
@@ -50,7 +53,7 @@ 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.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 These variables are GNU extensions, and should not be
 used in programs intended to be portable.
 .SH NOTES
@@ -58,5 +61,13 @@ The Linux-specific
 .I /proc/[number]/cmdline
 file provides access to similar information.
 .SH SEE ALSO
-.BR proc (5),
-.BR feature_test_macros (7)
+.BR proc (5)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I 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/.