MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / blkid_safe_string

Function blkid_safe_string

libblkid/src/encode.c:333–340  ·  view source on GitHub ↗

* blkid_safe_string: * @str: input string * @str_safe: output string * @len: size of output string * * Allows plain ascii, hex-escaping and valid utf8. Replaces all whitespaces * with '_'. * * Returns: 0 on success or -1 in case of error. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

replace_whitespaceFunction · 0.85
replace_charsFunction · 0.85

Tested by

no test coverage detected