summaryrefslogtreecommitdiff
path: root/errno.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1991-01-30 10:25:34 +0000
committerRoland McGrath <roland@gnu.org>1991-01-30 10:25:34 +0000
commitc2547ce6a46f905a7f876f3e2c35e6e9e9b36527 (patch)
tree2b619afb1196c20c60ea0272412e589ad8a9039d /errno.h
parent1c078555037a905f1e9bb29951e5e16420d66992 (diff)
Initial revision
Diffstat (limited to 'errno.h')
-rw-r--r--errno.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/errno.h b/errno.h
new file mode 100644
index 0000000000..5968c85610
--- /dev/null
+++ b/errno.h
@@ -0,0 +1,34 @@
+/* Copyright (C) 1991 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 modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 1, or (at your option)
+any later version.
+
+The GNU C Library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with the GNU C Library; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+/*
+ * ANSI Standard: 4.1.3 Errors <errno.h>
+ */
+
+#ifndef _ERRNO_H
+
+#define _ERRNO_H 1
+#include <features.h>
+
+/* Get the error number constants. */
+#include <errnos.h>
+
+/* Declare the `errno' variable. */
+extern VOLATILE int errno;
+
+
+#endif /* errno.h */