debug.h (755B) - Raw
1 #ifndef __XPC_DEBUG_H__ 2 #define __XPC_DEBUG_H__ 3 4 __BEGIN_DECLS 5 6 /*! 7 * @function xpc_debugger_api_misuse_info 8 * Returns a pointer to a string describing the reason XPC aborted the calling 9 * process. On OS X, this will be the same string present in the "Application 10 * Specific Information" section of the crash report. 11 * 12 * @result 13 * A pointer to the human-readable string describing the reason the caller was 14 * aborted. If XPC was not responsible for the program's termination, NULL will 15 * be returned. 16 * 17 * @discussion 18 * This function is only callable from within a debugger. It is not meant to be 19 * called by the program directly. 20 */ 21 XPC_DEBUGGER_EXCL 22 const char * 23 xpc_debugger_api_misuse_info(void); 24 25 __END_DECLS 26 27 #endif // __XPC_DEBUG_H__