From f1261bcdd7fdfcc38d80f63f21fd78d7eef1e6e4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 5 Jun 2009 16:14:50 +0000 Subject: introduction of os-specific.c and os-specific.h --- src/os-specific.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/os-specific.h (limited to 'src/os-specific.h') 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, , 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 */ -- cgit v1.2.3