Memory total

From Bennu Wiki
(Redirected from Mem total)
Jump to: navigation, search


Definition

INT memory_total ( )

Returns the memory total in bytes.

Also called mem_total().

Returns

INT : Memory total in bytes.

Example

import "mod_mem"
import "mod_say"

Process Main()
Begin

    say("Total memory: " + memory_total());
    say("Free memory:  " + memory_free() );

End

Used in example: say(), memory_total(), memory_free()


Mod_mem
Functions Alloc()Calloc()Free()Memalloc()Memavailable()Memcalloc()Memcmp()Memcopy()Memfree()Memmove()Memrealloc()Memset()Memseti()Memsetw()Memtotal()Memcmp()Memcopy()Memmove()Memoryfree()Memorytotal()Memset()Memseti()Memsetw()Realloc()