ex_apprec.src
来自「关于Berkelay数据库的共享源码」· SRC 代码 · 共 42 行
SRC
42 行
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2006 * Oracle Corporation. All rights reserved. * * $Id: ex_apprec.src,v 12.4 2006/09/13 16:22:27 sue 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 + =
减小字号Ctrl + -
显示快捷键?