function

First seen , last seen .

readstringarrayidx

See also: readstringarrayidx (function-call)

A built-in CFEngine function in the io category that returns an integer. readstringarrayidx is called 5 times from 2 bundles and bodies in 1 policy file, on 100 hosts in your infrastructure.

Signature
readstringarrayidx(string, string, string, string, int, int)
Parameters
  1. string Array identifier to populate ([a-zA-Z0-9_$(){}\[\].:]+)
  2. string File name to read ("?(/.*))
  3. string Regex matching comments (.*)
  4. string Regex to split data (.*)
  5. int Maximum number of entries to read (0,99999999999)
  6. int Maximum bytes to read (0,99999999999)
Returns
int
Category
io