This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum
pubconstCREATE_DISPOSITION = enum(ULONG) {
/// If the file already exists, replace it with the given file. If it does not, create the given file.SUPERSEDE = 0x00000000,
/// If the file already exists, open it instead of creating a new file./// If it does not, fail the request and do not create a new file.OPEN = 0x00000001,
/// If the file already exists, fail the request and do not create or/// open the given file. If it does not, create the given file.CREATE = 0x00000002,
/// If the file already exists, open it. If it does not, create the given file.OPEN_IF = 0x00000003,
/// If the file already exists, open it and overwrite it. If it does not, fail the request.OVERWRITE = 0x00000004,
/// If the file already exists, open it and overwrite it. If it does not, create the given file.OVERWRITE_IF = 0x00000005,
pubconstMAXIMUM_DISPOSITION: CREATE_DISPOSITION = .OVERWRITE_IF;
}
Define the create disposition values