1 #ifndef _IPXE_EFI_STRINGS_H 2 #define _IPXE_EFI_STRINGS_H 17 extern int efi_snprintf (
wchar_t *wbuf,
size_t wsize,
const char *
fmt, ... );
21 const char *
fmt, ... );
45 #define efi_sprintf( buf, fmt, ... ) \ 46 efi_snprintf ( (buf), ~( ( size_t ) 0 ), (fmt), ## __VA_ARGS__ ) int efi_vasprintf(wchar_t **strp, const char *fmt, va_list args)
Write a formatted string to newly allocated memory.
int efi_snprintf(wchar_t *wbuf, size_t wsize, const char *fmt,...)
Write a formatted string to a buffer.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int efi_vsnprintf(wchar_t *wbuf, size_t wsize, const char *fmt, va_list args)
Write a formatted string to a wide-character buffer.
int efi_asprintf(wchar_t **strp, const char *fmt,...)
Write a formatted string to newly allocated memory.
int efi_ssnprintf(wchar_t *wbuf, ssize_t swsize, const char *fmt,...)
Version of efi_vsnprintf() that accepts a signed buffer size.
int efi_vssnprintf(wchar_t *wbuf, ssize_t swsize, const char *fmt, va_list args)
Version of efi_vsnprintf() that accepts a signed buffer size.
static int efi_vsprintf(wchar_t *buf, const char *fmt, va_list args)
Write a formatted string to a wide-character buffer.
__builtin_va_list va_list
int ssize_t const char * fmt