Wrappers for memory control functon for C under Linux