File: windows.rs

package info (click to toggle)
rust-rlimit 0.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: python: 142; sh: 13; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
#[test]
fn maxstdio() {
    assert_eq!(rlimit::getmaxstdio(), 512);
    assert_eq!(rlimit::setmaxstdio(2048).unwrap(), 2048);
    assert_eq!(rlimit::getmaxstdio(), 2048);
}