Methods Summary |
---|
public static native long | calloc(long num, int sz)Allocates an array in memory with elements initialized to 0.
|
public static native void | free(long mem)Deallocates or frees a memory block.
|
public static native int | getpid()Get current process pid.
|
public static native int | getppid()Get current process parent pid.
|
public static native long | malloc(int sz)Allocates memory blocks.
|
public static native boolean | memread(byte[] dst, long src, int sz)Read from plain memory
|
public static native boolean | memset(long dst, int c, int sz)Sets buffers to a specified character
|
public static native boolean | memwrite(long dst, byte[] src, int sz)Write to plain memory
|
public static native long | realloc(long mem, int sz)Reallocate memory blocks.
|