📄 dmalloc_rand.h
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -