dmalloc_rand.h

来自「测试内存泄露工具」· C头文件 代码 · 共 68 行

H
68
字号
/* * Defines for the internal random number generator * * 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: dmalloc_rand.h,v 1.1 2003/06/04 23:43:45 gray Exp $ */#ifndef __DMALLOC_RAND_H__#define __DMALLOC_RAND_H__/*<<<<<<<<<<  The below prototypes are auto-generated by fillproto *//* * static void _dmalloc_srand * * DESCRIPTION: * * Seed the random number generator with the user argument. * * RETURNS: * * None. * * ARGUMENTS: * * seed -> Value to seed the algorithm with. */externvoid	_dmalloc_srand(const long seed);/* * static long _dmalloc_rand * * DESCRIPTION: * * Get a pseudo-random number from the random algorithm. * * RETURNS: * * Random number. * * ARGUMENTS: * * None. */externlong	_dmalloc_rand(void);/*<<<<<<<<<<   This is end of the auto-generated output from fillproto. */#endif /* ! __DMALLOC_RAND_H__ */

⌨️ 快捷键说明

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