C++ template type diff printing
[official-gcc.git] / libcilkrts / runtime / sslib / ignore_handler_s.c
blob54b65c9a23f228979a8b7427bb54bcfe5c4170ad
1 /*------------------------------------------------------------------
2 * ignore_handler_s.c
4 * 2012, Jonathan Toppins <jtoppins@users.sourceforge.net>
6 * Copyright (c) 2012 Cisco Systems
7 * All rights reserved.
9 * Permission is hereby granted, free of charge, to any person
10 * obtaining a copy of this software and associated documentation
11 * files (the "Software"), to deal in the Software without
12 * restriction, including without limitation the rights to use,
13 * copy, modify, merge, publish, distribute, sublicense, and/or
14 * sell copies of the Software, and to permit persons to whom the
15 * Software is furnished to do so, subject to the following
16 * conditions:
18 * The above copyright notice and this permission notice shall be
19 * included in all copies or substantial portions of the Software.
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
23 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
25 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
26 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28 * OTHER DEALINGS IN THE SOFTWARE.
29 *------------------------------------------------------------------
32 #include "safeclib_private.h"
34 /**
35 * NAME
36 * ignore_handler_s
38 * SYNOPSIS
39 * #include "safe_lib.h"
40 * void ignore_handler_s(const char *msg, void *ptr, errno_t error)
42 * DESCRIPTION
43 * This function simply returns to the caller.
45 * SPECIFIED IN
46 * ISO/IEC JTC1 SC22 WG14 N1172, Programming languages, environments
47 * and system software interfaces, Extensions to the C Library,
48 * Part I: Bounds-checking interfaces
50 * INPUT PARAMETERS
51 * msg Pointer to the message describing the error
53 * ptr Pointer to aassociated data. Can be NULL.
55 * error The error code encountered.
57 * RETURN VALUE
58 * Returns no value.
60 * ALSO SEE
61 * abort_handler_s()
65 void ignore_handler_s(const char *msg, void *ptr, errno_t error)
68 sldebug_printf("IGNORE CONSTRAINT HANDLER: (%u) %s\n", error,
69 (msg) ? msg : "Null message");
70 return;
72 EXPORT_SYMBOL(ignore_handler_s);