#stdin #stdout #libc #helper #stderr #functions #retrieving

libc-stdhandle

用于检索 stdin、stdout、stderr 的辅助函数

1 个不稳定版本

使用旧的 Rust 2015

0.1.0 2017年11月4日

#1936Rust 模式

Download history • Rust 包仓库 1975/week @ 2023-11-20 • Rust 包仓库 1670/week @ 2023-11-27 • Rust 包仓库 1221/week @ 2023-12-04 • Rust 包仓库 806/week @ 2023-12-11 • Rust 包仓库 889/week @ 2023-12-18 • Rust 包仓库 418/week @ 2023-12-25 • Rust 包仓库 619/week @ 2024-01-01 • Rust 包仓库 954/week @ 2024-01-08 • Rust 包仓库 1183/week @ 2024-01-15 • Rust 包仓库 1056/week @ 2024-01-22 • Rust 包仓库 1202/week @ 2024-01-29 • Rust 包仓库 782/week @ 2024-02-05 • Rust 包仓库 405/week @ 2024-02-12 • Rust 包仓库 323/week @ 2024-02-19 • Rust 包仓库 428/week @ 2024-02-26 • Rust 包仓库 358/week @ 2024-03-04 • Rust 包仓库

1,525 每月下载量
205 包(6 个直接使用)中使用

MIT/Apache

3KB

为与 libc 一起工作,提供检索 stdin、stdout、stderr 的辅助函数。

开始使用

将以下内容添加到您的 Cargo.toml

[dependencies]
libc-stdhandle = "0.8.2"

然后您可以

extern crate libc_stdhandle;
use libc_stdhandle::*;

unsafe { stdout() }

lib.rs:

为与 libc 一起工作,提供检索 stdin、stdout、stderr 的辅助函数。

依赖项

~210KB