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

Function string_to_idarray

libblkid/lib/strutils.c:511–546  ·  view source on GitHub ↗

* Parses comma delimited list to array with IDs, for example: * * "aaa,bbb,ccc" --> ary[0] = FOO_AAA; * ary[1] = FOO_BBB; * ary[3] = FOO_CCC; * * The function name2id() provides conversion from string to ID. * * Returns: >= 0 : number of items added to ary[] * -1 : parse error or unknown item * -2 : arysz reached */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

string_add_to_idarrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected