iPXE
|
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | vasprintf (char **strp, const char *fmt, va_list args) |
Write a formatted string to newly allocated memory. More... | |
int | asprintf (char **strp, const char *fmt,...) |
Write a formatted string to newly allocated memory. More... | |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int vasprintf | ( | char ** | strp, |
const char * | fmt, | ||
va_list | args | ||
) |
Write a formatted string to newly allocated memory.
strp | Pointer to hold allocated string |
fmt | Format string |
args | Arguments corresponding to the format string |
len | Length of formatted string |
Definition at line 17 of file asprintf.c.
References ENOMEM, fmt, len, malloc(), NULL, va_copy, va_end, and vsnprintf().
Referenced by asprintf(), and xfer_vprintf().
int asprintf | ( | char ** | strp, |
const char * | fmt, | ||
... | |||
) |
Write a formatted string to newly allocated memory.
strp | Pointer to hold allocated string |
fmt | Format string |
... | Arguments corresponding to the format string |
len | Length of formatted string |
Definition at line 41 of file asprintf.c.
References fmt, len, va_end, va_start, and vasprintf().
Referenced by efi_block_label(), efi_local_check_volume_name(), expand_settings(), iscsi_fetch_settings(), peerdist_discovery_request(), resolve_path(), tftp_uri(), and xenstore_dump().