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

📄 env.h

📁 减少内存碎片的malloc分配函数
💻 H
字号:
/* * Defines for the env routines * * Copyright 2000 by Gray Watson * * This file is part of the dmalloc package. * * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of Gray Watson not be used in advertising * or publicity pertaining to distribution of the document or software * without specific, written prior permission. * * Gray Watson makes no representations about the suitability of the * software described herein for any purpose.  It is provided "as is" * without express or implied warranty. * * The author may be contacted via http://dmalloc.com/ * * $Id: env.h,v 1.24 2004/01/14 16:17:59 gray Exp $ */#ifndef __ENV_H__#define __ENV_H__/*<<<<<<<<<<  The below prototypes are auto-generated by fillproto *//* * Break up ADDR_ALL into ADDR_P and ADDR_COUNT_P */externvoid	_dmalloc_address_break(const char *addr_all, DMALLOC_PNT *addr_p,			       long *addr_count_p);/* * Break up START_ALL into SFILE_P, SLINE_P, and SCOUNT_P */externvoid	_dmalloc_start_break(char *start_all, char **start_file_p,			     int *start_line_p, unsigned long *start_iter_p,			     unsigned long *start_size_p);/* * Process the values of dmalloc environ variable(s) from ENVIRON * string. */externvoid	_dmalloc_environ_process(const char *env_str, DMALLOC_PNT *addr_p,				 long *addr_count_p, unsigned int *debug_p,				 unsigned long *interval_p, int *lock_on_p,				 char **logpath_p, char **start_file_p,				 int *start_line_p,				 unsigned long *start_iter_p,				 unsigned long *start_size_p,				 unsigned long *limit_p);/* * Set dmalloc environ variable(s) with the values (maybe SHORT debug * info) into BUF. */externvoid	_dmalloc_environ_set(char *buf, const int buf_size,			     const int long_tokens_b,			     const DMALLOC_PNT address,			     const unsigned long addr_count,			     const unsigned int debug,			     const unsigned long interval, const int lock_on,			     const char *logpath, const char *start_file_p,			     const int start_line,			     const unsigned long start_iter,			     const unsigned long start_size,			     const unsigned long limit_val);/*<<<<<<<<<<   This is end of the auto-generated output from fillproto. */#endif /* ! __ENV_H__ */

⌨️ 快捷键说明

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