• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use io_lifetimes::raw::AsRawFilelike;
2 
3 #[test]
test_proc_self()4 fn test_proc_self() {
5     // Verify that this API works at all
6     let fd = rustix::io::proc_self_fd().unwrap();
7     assert_ne!(fd.as_raw_filelike(), 0);
8 }
9