Intel(R) Software Guard Extensions SDKDeveloper Reference for Linux* OS
- 285 -
Header
file
Header
file in
Intel
SGX?
Unsupported Definition
Macros/Types Functions
SEEK_CUR, SEEK_
END, SEEK_SET,
TMP_MAX, stderr,
stdin, stdout
ftell(), rewind(), clearerr(), feof(), ferror
(), perror()
stdlib.h Yes rand(), srand(), atexit(), exit(), _Exit(), getenv(),
system()
string.h Yes strcpy(), strcat(), strstr()
*
tgmath.h No
time.h Yes clock(), mktime(), time(), ctime(), gmtime(), loc-
altime()
wchar.h Yes fwprintf(), fwscanf(), swscanf(), vfwprintf(), vfws-
canf(), vswscanf(), vwprintf(), vwscanf(), wprintf
(), wscanf(), fgetwc(), fgetws(), fputwc(), fputws
(), fwide(), getwc(), getwchar(), putwc(), put-
wchar(), ungetwc(), wcstod(), wcstof(), wcstold
(), wcstol(), wcstoll(), wcstoul(), wcstoull(),
wcscpy(), wcscat(), wcsftime(),wctob()
wctype.h Yes iswalnum(), iswalpha(), iswblank(), iswcntrl(),
iswdigit(), iswgraph(), iswlower(), iswprint(), isw-
punct(), iswspace(), iswupper(), iswxdigit(),
wctype(), towlower(), towupper(), towctrans(),
wctrans(),
(*) The trusted standard C library does not support char strstr(const
char*, const char*). However, it does support the variant const
char* strstr (const char*, const char*) is supported.
NOTE
Trusted C library is enhanced to avoid format string attacks. Any attempts to
use %n in printf-family functions such as snprintf will result in a run-time
error.
Unsupported C++ Standard Classes and Functions
The following table lists unsupported C++03 classes and functions inside an
enclave. Also, the table does not include unsupported C functions. See Unsup-
ported C Standard Functions for detailed information.