finfo_set_flags

finfo::set_flags

Set libmagic configuration options

&reftitle.description;

&style.procedural;

`bool` `finfo_set_flags` `finfo` `finfo` `int` `flags`

&style.oop;

public `bool` `finfo::set_flags` `int` `flags`

This function sets various Fileinfo options. Options can be set also directly in `finfo_open` or other Fileinfo functions.

&reftitle.parameters;

`finfo`

- &fileinfo.parameters.finfo;

`flags`

- One or disjunction of more Fileinfo constants.

&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
&fileinfo.changelog.finfo-object;