/usr/lib/gcc/x86_64-linux-gnu/5/include/d/core/sys/solaris/execinfo.d is in libphobos-5-dev 5.5.0-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /**
* D header file for Solaris.
*
* Copyright: Copyright Martin Nowak 2012.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Martin Nowak
*/
module core.sys.solaris.execinfo;
// The interface is exactly the same as linux, so copied from linux's execinfo.d
version (Solaris):
extern (C):
nothrow:
int backtrace(void** buffer, int size);
char** backtrace_symbols(const(void*)* buffer, int size);
void backtrace_symbols_fd(const(void*)* buffer, int size, int fd);
|