Changeset 6b6597c for src/libcfa/stdlib


Ignore:
Timestamp:
Apr 19, 2016, 9:36:29 PM (6 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:
0cb1d61, 6e991d6
Parents:
09d1ad0
Message:

user manual updates, extend I/O test, fix memset in stdlib, workaround for fstream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/stdlib

    r09d1ad0 r6b6597c  
    1010// Created On       : Thu Jan 28 17:12:35 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr 13 14:45:53 2016
    13 // Update Count     : 85
     12// Last Modified On : Tue Apr 19 21:21:53 2016
     13// Update Count     : 93
    1414//
    1515
     
    2828#endif // ! EXIT_FAILURE
    2929void exit( int rc );
     30void abort( void );
    3031} // extern "C"
    3132
     
    5051
    5152forall( otype T ) T * aligned_alloc( size_t alignment );
    52 forall( otype T ) T * memalign( size_t alignment );             // deprecated
     53forall( otype T ) T * memalign( size_t alignment );
    5354forall( otype T ) int posix_memalign( T ** ptr, size_t alignment );
    5455
    55 forall( otype T ) T * memset( T * ptr, unsigned char fill ); // use default value '\0' for fill
    56 forall( otype T ) T * memset( T * ptr );                                // remove when default value available
     56extern "C" {
     57void * memset( void * ptr, int fill, size_t size );
     58void free( void * ptr );
     59} // extern "C"
    5760
    5861//---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.