Zig 0.17.0-dev (Split by item)

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 library itself.

printAsciiChar

Writer.printAsciiChar
pub fn printAsciiChar(w: *Writer, c: u8, options: std.fmt.Options) Error!void

File

lib/std/Io/Writer.zig:1607

Code

pub fn printAsciiChar(w: *Writer, c: u8, options: std.fmt.Options) Error!void {
    return w.alignBufferOptions(@as(*const [1]u8, &c), options);
}