Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

random.cc File Reference

#include <sys/time.h>
#include "config.h"
#include "random.h"

Include dependency graph for random.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define GCC_THROW

Functions

RANDOM_RETURN_TYPE random () GCC_THROW


Define Documentation

#define GCC_THROW
 

Definition at line 47 of file random.cc.

Referenced by random().


Function Documentation

RANDOM_RETURN_TYPE random  ) 
 

Definition at line 51 of file random.cc.

References abort(), and GCC_THROW.

Referenced by RandomCommand::RandomCommand().

00052 {
00053         printf("random() called in ns.\nRandom is not portable, please use Random::uniform() instead.\n");
00054         abort();
00055 }

Here is the call graph for this function:


Generated on Tue Apr 20 12:26:49 2004 for NS2.26SourcesOriginal by doxygen 1.3.3