summaryrefslogtreecommitdiff
path: root/errno.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-11-18 08:25:24 +0000
committerRoland McGrath <roland@gnu.org>1993-11-18 08:25:24 +0000
commite2382ba3cd28bb1413dabea6dc916549ff7be3bf (patch)
treee980591b0db2ddf172c74df5fa9ef167e00e811d /errno.h
parent331584cdc9bba0d5b6b9619c705e5a99f5b759e1 (diff)
Formerly ../errno.h.~4~
Diffstat (limited to 'errno.h')
-rw-r--r--errno.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/errno.h b/errno.h
index 0d0cf484e2..20bfbf2ed5 100644
--- a/errno.h
+++ b/errno.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -33,6 +33,13 @@ __BEGIN_DECLS
/* Declare the `errno' variable. */
extern __volatile int errno;
+#ifdef __USE_GNU
+/* The full and simple forms of the name with which the program was
+ invoked. These variables are set up automatically at startup based on
+ the value of ARGV[0] (this works only if you use GNU ld). */
+extern char *program_invocation_name, *program_invocation_short_name;
+#endif
+
__END_DECLS
#endif /* errno.h */