HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
[linux/fpc-iii.git] / tools / build / feature / test-backtrace.c
blob7124aa1dc8fb77d5fe1adae0cc4a0dcaff2ff3a3
1 #include <execinfo.h>
2 #include <stdio.h>
4 int main(void)
6 void *backtrace_fns[10];
7 size_t entries;
9 entries = backtrace(backtrace_fns, 10);
10 backtrace_symbols_fd(backtrace_fns, entries, 1);
12 return 0;