[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: As i suspected, unaligned access

>>>>> "OL" == Oscar Levi <elf@buici.com> writes:

    OL> I don't have a man page on memalign.  What is it?

 - Fonction: void * memalign (size_t BOUNDARY, size_t SIZE)
     The `memalign' function allocates a block of SIZE bytes whose
     address is a multiple of BOUNDARY.  The BOUNDARY must be a power
     of two!  The function `memalign' works by allocating a somewhat
     larger block, and then returning an address within the block that
     is on the specified boundary.


Reply to: