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

📄 misc.c

📁 LINUX下读写NTFS分区的工具。 已经集成了通过LIBCONV库支持中文的代码。
💻 C
字号:
#ifdef HAVE_CONFIG_H#include "config.h"#endif#ifdef HAVE_STDLIB_H#include <stdlib.h>#endif#include "misc.h"#include "logging.h"/** * ntfs_calloc *  * Return a pointer to the allocated memory or NULL if the request fails. */void *ntfs_calloc(size_t size){	void *p;		p = calloc(1, size);	if (!p)		ntfs_log_perror("Failed to calloc %lld bytes", (long long)size);	return p;}void *ntfs_malloc(size_t size){	void *p;		p = malloc(size);	if (!p)		ntfs_log_perror("Failed to malloc %lld bytes", (long long)size);	return p;}

⌨️ 快捷键说明

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