Sysexits.jl

The system exit codes as defined by <sysexits.h> for Julia

OTHER License

Stars
2

Sysexits.jl

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

This library is a port of sysexits-rs.

Usage

To install this package:

pkg> add Sysexits

Example

import Sysexits

str = "abcdefgh"
try
    astr = ascii(str)
    println(astr)
    Sysexits.exit()
catch err
    showerror(stderr, err)
    println(stderr)
    Sysexits.exit(Sysexits.dataerr)
end

Documentation

See the documentation for more details.

Source code

The upstream repository is available at https://github.com/sorairolake/Sysexits.jl.git.

The source code is also available at:

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

Similar projects

You can discover more projects at https://github.com/sorairolake/awesome-sysexits.

License

Copyright © 2023–2024 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.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.