Coda Distributed File System
lwp_stacktrace.h
Go to the documentation of this file.
1/* BLURB lgpl
2
3 Coda File System
4 Release 5
5
6 Copyright (c) 2005 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU Library General Public Licence Version 2, as
11shown in the file LICENSE. The technical and financial contributors to
12Coda are listed in the file CREDITS.
13
14 Additional copyrights
15
16#*/
17
18#ifndef LWP_STACKTRACE_H
19#define LWP_STACKTRACE_H
20
21#ifdef HAVE_CONFIG_H
22#include <config.h>
23#endif
24
25#include <stdio.h>
26#include <signal.h>
27
28#ifndef HAVE_STACK_T
29typedef struct sigaltstack {
30 void *ss_sp;
32 size_t ss_size;
34#endif
35
36void lwp_stacktrace(FILE *fp, void *top, stack_t *stack);
37
38#endif /* LWP_STACKTRACE_H */
struct sigaltstack stack_t
void lwp_stacktrace(FILE *fp, void *top, stack_t *stack)
Definition: lwp_stacktrace.c:29
int stack
Definition: srv.cc:193
Definition: lwp_stacktrace.h:29
size_t ss_size
Definition: lwp_stacktrace.h:32
int ss_flags
Definition: lwp_stacktrace.h:31
void * ss_sp
Definition: lwp_stacktrace.h:30