"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/import/core/sys/solaris/execinfo.d" (20 Nov 2020, 513 Bytes) of package /linux/misc/dmd.2.094.2.linux.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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);