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

Function strcpy

src/lib/string.c:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78char *strcpy(char *dst, const char *src)
79{
80 char *ptr = dst;
81
82 while (*src)
83 *dst++ = *src++;
84 *dst = '\0';
85
86 return ptr;
87}
88
89int strcmp(const char *s1, const char *s2)
90{

Callers 15

cbfs_preloadFunction · 0.70
gcov_exitFunction · 0.70
fopenFunction · 0.70
smbios_add_stringFunction · 0.70
detailed_blockFunction · 0.70
update_board_layoutFunction · 0.50
tpm2_log_cbmem_initFunction · 0.50
tpm1_log_cbmem_initFunction · 0.50
bdk_device_renameFunction · 0.50
fill_up_entries_cacheFunction · 0.50
smbios_add_oem_stringFunction · 0.50
discover_capsule_blocksFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_strcpyFunction · 0.40