function

First seen , last seen .

readfile

See also: readfile (function-call)

A built-in CFEngine function in the io category that returns a string. readfile is called 23 times from 13 bundles and bodies in 14 policy files, on 100 hosts in your infrastructure.

Signature
readfile(string, [int], ...)
Parameters
  1. string File name ("?(/.*))
  2. int Maximum number of bytes to read (0,99999999999)
Variadic: at least 1 and at most 2 arguments.
Returns
string
Category
io