Skip to content

std.os.uefi.protocol.shell_parameters

Standard libraryZig 0.17.0Official documentation
Sourcestd/os/uefi/protocol/shell_parameters.zig

Source line 1

std.os.uefi.protocol.shell_parameters.FileHandle

alias

Source line 3

Alias of std.os.uefi.FileHandle

std.os.uefi.protocol.shell_parameters.Guid

alias

Source line 2

Alias of std.os.uefi.Guid

std.os.uefi.protocol.shell_parameters.ShellParameters

container

Source line 5

Fields

argv: [*][*:0]const u16
argc: usize
stdin: FileHandle
stdout: FileHandle
stderr: FileHandle

std.os.uefi.protocol.shell_parameters.ShellParameters.guid

constant

Source line 12

std.os.uefi.protocol.shell_parameters.uefi

alias

Source line 1

Alias of std.os.uefi

Source code

std/os/uefi/protocol/shell_parameters.zig

const uefi = @import("std").os.uefi;
const Guid = uefi.Guid;
const FileHandle = uefi.FileHandle;

pub const ShellParameters = extern struct {
    argv: [*][*:0]const u16,
    argc: usize,
    stdin: FileHandle,
    stdout: FileHandle,
    stderr: FileHandle,

    pub const guid align(8) = Guid{
        .time_low = 0x752f3136,
        .time_mid = 0x4e16,
        .time_high_and_version = 0x4fdc,
        .clock_seq_high_and_reserved = 0xa2,
        .clock_seq_low = 0x2a,
        .node = [_]u8{ 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca },
    };
};