📄 ex_apprec.src
字号:
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002,2007 Oracle. All rights reserved. * * $Id: ex_apprec.src,v 12.6 2007/05/17 15:15:13 bostic Exp $ */PREFIX ex_apprec/* * This is the source file used to generate the application-specific recovery * functions used by the ex_apprec example. It should be turned into usable * source code (including a template for the recovery function itself) by * invoking changing to the dist directory of the DB distribution and * running the gen_rec.awk script there as follows: * * awk -f ./gen_rec.awk \ * -v source_file=../examples_c/ex_apprec/ex_apprec_auto.c \ * -v header_file=../examples_c/ex_apprec/ex_apprec_auto.h \ * -v template_file=../examples_c/ex_apprec/ex_apprec_template \ * < ../examples_c/ex_apprec/ex_apprec.srcINCLUDE #include <ctype.h>INCLUDE #include <errno.h>INCLUDE #include <stdlib.h>INCLUDE #include <string.h>INCLUDEINCLUDE #include <db.h>INCLUDEINCLUDE #include "ex_apprec.h"/* * mkdir: used to create a directory * * dirname: relative or absolute pathname of the directory to be created */BEGIN mkdir 42 10000DBT dirname DBT sEND
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -