summary refs log tree commit diff
path: root/host/start-vmm/unix.rs
blob: 8213497609cc1f10a15c42b505f7358a58c5c87a (plain) (blame)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: EUPL-1.2+
// SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>

use std::ffi::c_int;
use std::os::fd::BorrowedFd;

extern "C" {
    pub fn clear_cloexec(fd: BorrowedFd) -> c_int;
}