This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
linxin-coredump-tools/coredump-handler/coredump_handler_wrapper.h
2023-05-22 18:52:59 +08:00

21 lines
365 B
C

#ifndef CORE_HANDLER_H_
#define CORE_HANDLER_H_
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <syslog.h>
#include <unistd.h>
#ifdef __cplusplus
extern "C" {
#endif
_Bool HandleCrash(pid_t pid, const char* procfs_dir, const char* md_filename);
#ifdef __cplusplus
}
#endif
#endif // CORE_HANDLER_H_