MCPcopy Create free account
hub / github.com/coreboot/coreboot / perror

Function perror

payloads/libpayload/libc/string.c:559–562  ·  view source on GitHub ↗

* Print error message and error number * @param s Error message to print */

Source from the content-addressed store, hash-verified

557 * @param s Error message to print
558 */
559void perror(const char *s)
560{
561 printf("%s: %d\n", s?s:"(none)", errno);
562}
563
564/**
565 * Get a message string describing the given error number.

Callers 15

_resizeFunction · 0.85
XCursesSetupXFunction · 0.85
_setup_cursesFunction · 0.85
PDC_resize_screenFunction · 0.85
dump_flashrom_layoutFunction · 0.85
create_fmap_templateFunction · 0.85
write_regionsFunction · 0.85
write_imageFunction · 0.85
inject_regionFunction · 0.85
new_layoutFunction · 0.85
mainFunction · 0.85
inteltool.cFile · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected