in project write own malloc, have looked @ others code.
in have seen fetching pointer , adding page size (the size getpagesize()).
do?
pointing next memory block?
it points next element in array.
if have array of elements of size m, nth element addressed base_ptr+(n*m)
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Memory question - in C
Ubuntu
Comments
Post a Comment