Debian Codegraph @

libphobos/libdruntime/core/sys/solaris/execinfo.d

raw
1 /**
2 * D header file for Solaris.
3 *
4 * Copyright: Copyright Martin Nowak 2012.
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
6 * Authors: Martin Nowak
7 */
8 module core.sys.solaris.execinfo;
9
10 // The interface is exactly the same as linux, so copied from linux's execinfo.d
11
12 version (Solaris):
13 extern (C):
14 nothrow:
15
16 int backtrace(void** buffer, int size);
17 char** backtrace_symbols(const(void*)* buffer, int size);
18 void backtrace_symbols_fd(const(void*)* buffer, int size, int fd);