native

get_flags

Syntax

native get_flags(flags, output[], len);

Description

Converts a bitflag value to a flag string.

Parameters

flags Bitflag value to convert
output Buffer to copy flag string to
len Maximum buffer size

Note

Example: The value 3 will yield the string "ab"

Return

Number of cells written to buffer