Remove ucore_ prefix from headers and source files

This commit is contained in:
Nils O. Selåsdal
2013-03-06 22:22:04 +01:00
parent ee8d9ae19d
commit 8badeaf857
85 changed files with 168 additions and 168 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef UC_BACKTRACE_H_
#define UC_BACKTRACE_H_
#define UC_BACTRACE_STDERR uc_backtrace_fd(2)
#include <stddef.h>
/**
* Print a stacktrace to the given file descriptor.
*
* @param fd filedescriptor to write to.
*/
void uc_backtrace_fd(int fd);
/**
* Print a stactrace to the given buffer
* (Note that unlike uc_backtrace_fd(), this function
* does malloc() call and may fail in a signal handler or
* if memory is corrupted.
*
* @param buf buffer to place the stacktrace in.
* @param len length of buffer
*/
void uc_backtrace_buf(char *buf, size_t len);
#endif