Changeset 0438091 for src/libcfa/stdlib


Ignore:
Timestamp:
Mar 22, 2016, 10:39:34 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
6a57da5
Parents:
94980502
Message:

modify stdlib random to not use C library routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/stdlib

    r94980502 r0438091  
    1010// Created On       : Thu Jan 28 17:12:35 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar  2 17:38:21 2016
    13 // Update Count     : 64
     12// Last Modified On : Tue Mar 22 22:34:24 2016
     13// Update Count     : 69
    1414//
    1515
     
    1919#include <stddef.h>                                                                             // size_t
    2020} // extern "C"
    21 
    22 forall( otype T ) T * memset( T * ptr, unsigned char fill ); // use default value '\0' for fill
    23 forall( otype T ) T * memset( T * ptr );                                        // remove when default value available
    2421
    2522forall( otype T ) T * malloc( void );
     
    3431forall( otype T ) T * memalign( size_t alignment );             // deprecated
    3532forall( otype T ) int posix_memalign( T ** ptr, size_t alignment );
     33
     34forall( otype T ) T * memset( T * ptr, unsigned char fill ); // use default value '\0' for fill
     35forall( otype T ) T * memset( T * ptr );                                // remove when default value available
    3636
    3737//---------------------------------------
     
    9393//---------------------------------------
    9494
    95 void randseed( long int s );
    96 char random();
    97 int random();
    98 unsigned int random();
    99 long int random();
    100 unsigned long int random();
    101 float random();
    102 double random();
    103 float _Complex random();
    104 double _Complex random();
    105 long double _Complex random();
     95void rand48seed( long int s );
     96char rand48();
     97int rand48();
     98unsigned int rand48();
     99long int rand48();
     100unsigned long int rand48();
     101float rand48();
     102double rand48();
     103float _Complex rand48();
     104double _Complex rand48();
     105long double _Complex rand48();
    106106
    107107//---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.