aboutsummaryrefslogtreecommitdiff
path: root/src/os-specific.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-05 16:14:50 +0000
committerYang Tse <yangsita@gmail.com>2009-06-05 16:14:50 +0000
commitf1261bcdd7fdfcc38d80f63f21fd78d7eef1e6e4 (patch)
tree87928825d3d9d12b5a1471dae6c907bca45db0a1 /src/os-specific.h
parent2e7b36d04fc5cf63ea0b098b8282dcd5f98fcc15 (diff)
introduction of os-specific.c and os-specific.h
Diffstat (limited to 'src/os-specific.h')
-rw-r--r--src/os-specific.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/os-specific.h b/src/os-specific.h
new file mode 100644
index 000000000..96f91cb76
--- /dev/null
+++ b/src/os-specific.h
@@ -0,0 +1,41 @@
+#ifndef HEADER_CURL_OS_SPECIFIC_H
+#define HEADER_CURL_OS_SPECIFIC_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ * $Id$
+ ***************************************************************************/
+
+#ifdef __VMS
+
+extern int vms_shell;
+
+void decc$__posix_exit(int __status);
+void decc$exit(int __status);
+
+int is_vms_shell(void);
+void vms_special_exit(int code, int vms_show);
+
+#undef exit
+#define exit(__code) vms_special_exit((__code), (0))
+
+#endif /* __VMS */
+
+#endif /* HEADER_CURL_OS_SPECIFIC_H */