MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_vstring_truncate

Function acl_vstring_truncate

lib_acl/src/stdlib/acl_vstring.c:445–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443/* acl_vstring_truncate - truncate string */
444
445ACL_VSTRING *acl_vstring_truncate(ACL_VSTRING *vp, size_t len)
446{
447 if (len < ACL_VSTRING_LEN(vp)) {
448 ACL_VSTRING_AT_OFFSET(vp, (int) len);
449 ACL_VSTRING_TERMINATE(vp);
450 }
451 return vp;
452}
453
454/* acl_vstring_strcpy - copy string */
455

Callers 12

str_name_mask_optFunction · 0.85
bfgets_no_crlfFunction · 0.85
acl_readllineFunction · 0.85
xml_parse_left_tagFunction · 0.85
xml_parse_attr_valFunction · 0.85
string.cppFile · 0.85
header_tokenFunction · 0.85
header_opts_findFunction · 0.85
mime_state_downgradeFunction · 0.85
mime_header_lineFunction · 0.85
strip_addressFunction · 0.85
str_name_mask_optFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…