diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_string.h | 6 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index fd9b312..10a413b 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -15,6 +15,12 @@ typedef int __cdecl ntapi_sprintf( const char * format, ...); +typedef int __cdecl ntapi_snprintf( + char * buffer, + size_t size, + const char * format, + ...); + typedef size_t __cdecl ntapi_strlen(const char * str); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 8af844f..0d9f432 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -362,6 +362,7 @@ typedef struct _ntapi_vtbl { /* nt_string.h */ ntapi_memset * memset; ntapi_sprintf * sprintf; + ntapi_snprintf * snprintf; ntapi_strlen * strlen; /* imported symbols: tail */ |