mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 18:12:36 +03:00
[efi] Add EFI string formatting functions
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
23
src/include/ipxe/efi/efi_strings.h
Normal file
23
src/include/ipxe/efi/efi_strings.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _IPXE_EFI_STRINGS_H
|
||||
#define _IPXE_EFI_STRINGS_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* EFI strings
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
extern int efi_vsnprintf ( wchar_t *wbuf, size_t wsize, const char *fmt,
|
||||
va_list args );
|
||||
extern int efi_snprintf ( wchar_t *wbuf, size_t wsize, const char *fmt, ... );
|
||||
extern int efi_vssnprintf ( wchar_t *wbuf, ssize_t swsize, const char *fmt,
|
||||
va_list args );
|
||||
extern int efi_ssnprintf ( wchar_t *wbuf, ssize_t swsize,
|
||||
const char *fmt, ... );
|
||||
|
||||
#endif /* _IPXE_EFI_STRINGS_H */
|
||||
Reference in New Issue
Block a user