#include <string.h>
#include <stdio.h>
#include "edger/Enclave_t.h"
#include "tee-ta-internal.h"
#include "trace.h"
#include "assert.h"
Go to the source code of this file.
◆ GP_ASSERT
| #define GP_ASSERT |
( |
|
rv, |
|
|
|
msg |
|
) |
| |
◆ tee_printf()
| int tee_printf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
tee_printf() - For trace GP API.
Initializes ap variable. Formats data under control of the format control string and stores the result in buf and ends the processing of ap. Finally prints the buffer value.
- Parameters
-
| fmt | fmt is constant character argument of type pointer.
|
- Returns
- res Based on the condition check it will return string length else returns 0.
tee_printf() - For tracing GP API.
Initializes ap variable. Formats data under control of the format control string and stores the result in buf and ends the processing of ap. Finally print the buffer value.
- Parameters
-
| fmt | fmt is a constant character argument of type pointer.
|
- Returns
- buffer If successfully executed, else error occured.