Miscellaneous YCP Builtins


Table of Contents

eval — Evaluate a YCP value.
getenv — Change or add an environment variable
is — Checks whether a value is of a certain type
random — Random number generator.
setenv — Change or add an environment variable
setenv — Change or add an environment variable
sformat — Format a String
sleep — Sleeps a number of milliseconds.
srandom — Initialize random number generator
srandom — Initialize random number generator.
time — Return the number of seconds since 1.1.1970.
y2debug — Log a message to the y2log.
y2error — Log an error to the y2log.
y2internal — Log an internal message to the y2log.
y2milestone — Log a milestone to the y2log.
y2security — Log a security message to the y2log.
y2useritem — Log an user-level system message to the y2changes
y2usernote — Log an user-level addional message to the y2changes
y2warning — Log a warning to the y2log.