Annotation of embedaddon/curl/src/tool_panykey.c, revision 1.1.1.1
1.1 misho 1: /***************************************************************************
2: * _ _ ____ _
3: * Project ___| | | | _ \| |
4: * / __| | | | |_) | |
5: * | (__| |_| | _ <| |___
6: * \___|\___/|_| \_\_____|
7: *
8: * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
9: *
10: * This software is licensed as described in the file COPYING, which
11: * you should have received as part of this distribution. The terms
12: * are also available at https://curl.haxx.se/docs/copyright.html.
13: *
14: * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15: * copies of the Software, and permit persons to whom the Software is
16: * furnished to do so, under the terms of the COPYING file.
17: *
18: * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19: * KIND, either express or implied.
20: *
21: ***************************************************************************/
22: #include "tool_setup.h"
23:
24: #if defined(__SYMBIAN32__) || defined(NETWARE)
25:
26: #ifdef NETWARE
27: # ifdef __NOVELL_LIBC__
28: # include <screen.h>
29: # else
30: # include <nwconio.h>
31: # endif
32: #endif
33:
34: #include "tool_panykey.h"
35:
36: #include "memdebug.h" /* keep this as LAST include */
37:
38: void tool_pressanykey(void)
39: {
40: #if defined(__SYMBIAN32__)
41: getchar();
42: #elif defined(NETWARE)
43: pressanykey();
44: #endif
45: }
46:
47: #endif /* __SYMBIAN32__ || NETWARE */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>