#openat #open #fs #api-bindings

openat_ct

A wrapper around openat, symlinkat, and similar system calls forked and improved from https://crates.io/crates/openat

12 releases

0.2.0-pre9 Feb 4, 2022
0.2.0-pre8 Feb 3, 2022
0.2.0-pre5 Jan 14, 2022
0.2.0-pre4 Dec 25, 2021
0.1.21 Oct 18, 2021

#857 in Filesystem

Download history 5/week @ 2024-02-15 10/week @ 2024-02-22 7/week @ 2024-02-29 2/week @ 2024-03-07 50/week @ 2024-03-28 25/week @ 2024-04-04

75 downloads per month
Used in dirinventory

MIT/Apache

66KB
1.5K SLoC

Openat (ct) Crate

Status: Beta

Documentation | Github | Crate

The interface to openat, symlinkat, and other functions in *at family.

About this Fork

This is a fork of the original 'openat' at https://github.com/tailhook/openat

The objective is to fix existing Issues and add features as required. An eventual goal would be to get this merged back into upstream. In most cases the API should stay backward compatible with the original openat (Unless functionality and fixes dictate changes).

It can be used as drop in replacement by aliasing the import:

use openat_ct as openat;

Dependent crates

This crate is a thin wrapper for the underlying system calls. You may find the extension methods in openat-ext useful.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~215KB