fuchsia_nix/lib.rs
1// Copyright 2021 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5pub mod errno {
6 pub use nix::errno::Errno;
7}
8
9pub mod net {
10 pub mod if_ {
11 pub use nix::net::if_::if_nametoindex;
12 }
13}
14
15pub use nix::Error;
16
17pub mod unistd {
18 pub use nix::unistd::fsync;
19}