Unverified Commit da87490c authored by kladko's avatar kladko

SKALE-2298 adding printf

parent 108d5ada
......@@ -42,6 +42,13 @@ uint64_t oc_realloc (void *optr, size_t osz, size_t nsz)
return (uint64_t) nptr;
}
void oc_printf ()
{
printf("haha\n");
fprintf( stderr, "haha\n");
}
void oc_free (void *ptr, size_t sz)
{
free(ptr);
......
......@@ -314,7 +314,7 @@ enclave {
include "gmp.h"
uint64_t oc_realloc([user_check] void *optr, size_t osz, size_t nsz);
void oc_printf();
void oc_free([user_check] void *optr, size_t sz);
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment