Home

Awesome

<!-- SPDX-FileCopyrightText: 2023 Shun Sakai SPDX-License-Identifier: Apache-2.0 OR MIT -->

Sysexits.jl

CI JuliaHub Stable Docs Dev Docs

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.

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.