⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileutils.h

📁 This is an implementation of double-array structure for representing trie, as proposed by Junichi A
💻 H
字号:
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- *//* * fileutils.h - File utility functions * Created: 2006-08-14 * Author:  Theppitak Karoonboonyanan <thep@linux.thai.net> */#ifndef __FILEUTILS_H#define __FILEUTILS_H#include <stdio.h>#include "triedefs.h"FILE * file_open (const char *dir, const char *name, const char *ext,                  TrieIOMode mode);long   file_length (FILE *file);Bool   file_read_int16 (FILE *file, int16 *o_val);Bool   file_write_int16 (FILE *file, int16 val);Bool   file_read_int8 (FILE *file, int8 *o_val);Bool   file_write_int8 (FILE *file, int8 val);Bool   file_read_chars (FILE *file, char *buff, int len);Bool   file_write_chars (FILE *file, const char *buff, int len);#endif /* __FILEUTILS_H *//*vi:ts=4:ai:expandtab*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -