mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Added [v]asprintf()
This commit is contained in:
@@ -10,10 +10,15 @@ printf ( const char *fmt, ... );
|
||||
extern int __attribute__ (( format ( printf, 3, 4 ) ))
|
||||
snprintf ( char *buf, size_t size, const char *fmt, ... );
|
||||
|
||||
extern int __attribute__ (( format ( printf, 2, 3 ) ))
|
||||
asprintf ( char **strp, const char *fmt, ... );
|
||||
|
||||
extern int vprintf ( const char *fmt, va_list args );
|
||||
|
||||
extern int vsnprintf ( char *buf, size_t size, const char *fmt, va_list args );
|
||||
|
||||
extern int vasprintf ( char **strp, const char *fmt, va_list args );
|
||||
|
||||
/**
|
||||
* Write a formatted string to a buffer
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user