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

Re: [MiNT] MiNTlibs question



Michael Schwingen <rincewind@discworld.dascon.de> writes:

|> Is it possible to qrery the pagesize that the kernel currently uses, and use
|> that as a blocksize for malloc()?

Call Dfree() on /proc, the third long is the page size.  See getpagesize
in the library.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org