MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / strncpy

Function strncpy

rEFIt_UEFI/Platform/Posix/string.h:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline char* strncpy(char * dst, const char * src, size_t len)
46{
47 AsciiStrnCpyS(dst,(UINTN)len+1,src,(UINTN)len);
48 return dst;
49}
50
51//// edkII Strcmp seems quite inefficient, even vs a naive implementation
52int strcmp(const char* s1, const char* s2);

Callers 15

SimpleStringClass · 0.50
nsvg__createGradientLinkFunction · 0.50
nsvg__createClipPathFunction · 0.50
nsvg__parseAttrFunction · 0.50
nsvg__parseGradientFunction · 0.50
nsvg__parseGlyphFunction · 0.50
nsvg__startElementFunction · 0.50
XStringAbstractClass · 0.50
WriteMapFileFunction · 0.50
FfsRebaseFunction · 0.50
mainFunction · 0.50
PrintMessageFunction · 0.50

Calls 1

AsciiStrnCpySFunction · 0.85

Tested by

no test coverage detected