The canonical text format is a comma-separated list of flag names.
The
archive_entry_copy_fflags_text()
and
archive_entry_copy_fflags_text_w()
functions parse the provided text and sets the internal bitmap values.
This is a platform-specific operation; names that are not meaningful
on the current platform will be ignored.
The function returns a pointer to the start of the first name that was not
recognized, or NULL if every name was recognized.
Note that every name  including names that follow an unrecognized
name  will be evaluated, and the bitmaps will be set to reflect
every name that is recognized.
(In particular, this differs from
strtofflags(3),
which stops parsing at the first unrecognized name.)