restore.c
来自「Linux系统备份源代码 可基于用户自定义策略实现系统、应用数据备份」· C语言 代码 · 共 68 行
C
68 行
/*************************************************************************** file : restore.c begin : Sun Jan 30 2000 copyright : (C) 2000 by Henrik Witt-Hansen email : bean@daisy.net ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************//*base configuration*/#ifdef HAVE_CONFIG_H#include <config.h>#endif/*standard includes*/#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>/*local headers*/#include "sitback.h"/*local prototypes*//******************************************************************** int Restore() Restore files from an archive arguments: none return: 0 on success -1 on error********************************************************************/int Restore(){ log("Restore operation initialized and ready"); /*no problems*/ return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?