📄 error_exit.c
字号:
#include <stdio.h>#include <stdlib.h>#include "examples.h"/* print error and exit with failure */void do_error_exit(sqlo_db_handle_t dbh, const char * file, int line, const char * msg){ printf("%s (line: %d):\n%s: %s\n", file, line, msg, sqlo_geterror(dbh)); sqlo_rollback(dbh); sqlo_finish(dbh); exit(EXIT_FAILURE);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -