sysexits-zig

sysexits-zig

CI

sysexits-zig is a library that provides the system exit code constants as defined by <sysexits.h>.

This library is a port of sysexits-rs.

Usage

Add this package to your build.zig.zon:

zig fetch --save git+https://github.com/sorairolake/sysexits-zig.git

Add the following to your build.zig:

const sysexits = b.dependency("sysexits", .{});
exe.root_module.addImport("sysexits", sysexits.module("sysexits"));

Documentation

See the documentation for more details.

Zig version

This library is compatible with Zig version 0.16.0.

Source code

The upstream repository is available at https://github.com/sorairolake/sysexits-zig.git.

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

Similar projects

Please see https://github.com/sorairolake/awesome-sysexits.

License

Copyright (C) 2023 Shun Sakai (see AUTHORS.adoc)

This library is distributed under the terms of either the Apache License 2.0 or the MIT License.

This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.