Chameleon

Chameleon Svn Source Tree

Root/branches/meklortOld/i386/modules/klibc/nrand48.c

Source at commit 1166 created 13 years 10 days ago.
By meklort, Fixed recent Makefile changes. Please do not use /Users/evan/SourceCode/tmp/chameleon/trunk or VPATH. the *only* time you should use /Users/evan/SourceCode/tmp/chameleon/trunk is when setting the SRCROOT variable. Also note that very soon make pkg is going to be removed. The pkg build script in trunk is very out of date. Instead please use the package maker at http://forge.voodooprojects.org/p/chameleonApplications/. Once this is ready for trunk it will be merged.
1/*
2 * nrand48.c
3 */
4
5#include <stdlib.h>
6#include <stdint.h>
7
8long nrand48(unsigned short xsubi[3])
9{
10return (long)((uint32_t) jrand48(xsubi) >> 1);
11}
12

Archive Download this file

Revision: 1166