Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

static unsigned RandSize ( void   )  [static]

Get a random size.

Returns:
random size.

Definition at line 60 of file tstkLdrHeap.c.

Referenced by main().

{
    unsigned i = (unsigned)rand() % (256*1024 - 1);
    return i ? i : 1;
}


Generated by  Doxygen 1.6.0   Back to index