The same attribute flags used in memory allocation routines are valid for the memory information routines. There is also an additional flag, memf_largest, which can be used in the availmem() routine to find out what the largest available memory block of a particular type is. Specifying the memf_total flag will return the total amount of memory currently available.