Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
char *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
89
int strcmp(const char *s1, const char *s2)
90
{
Callers
15
cbfs_preload
Function · 0.70
gcov_exit
Function · 0.70
fopen
Function · 0.70
smbios_add_string
Function · 0.70
detailed_block
Function · 0.70
update_board_layout
Function · 0.50
tpm2_log_cbmem_init
Function · 0.50
tpm1_log_cbmem_init
Function · 0.50
bdk_device_rename
Function · 0.50
fill_up_entries_cache
Function · 0.50
smbios_add_oem_string
Function · 0.50
discover_capsule_blocks
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_strcpy
Function · 0.40