libcdio 2.3.0
iso9660_dir_s::[union].filename Union Reference

Data Fields

iso711_t len
char str [1]

Detailed Description

Ordinal number of the volume in the Volume Set on which the Extent described by this Directory Record is recorded. (9.1.9)

MSVC compilers cannot handle a zero sized array in the middle of a struct, and iso9660_dir_s is reused within iso9660_pvd_s. Therefore, instead of defining: iso711_t filename_len; char filename[]; we leverage the fact that iso711_t and char are the same size and use an union. The only gotcha is that the actual string payload of filename.str[] starts at 1, not 0.

Field Documentation

◆ len

◆ str


The documentation for this union was generated from the following files:

Generated for libcdio by doxygen 1.18.0