aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/sys
diff options
context:
space:
mode:
authorFenrirWolf <[email protected]>2018-04-21 19:03:25 -0600
committerGitHub <[email protected]>2018-04-21 19:03:25 -0600
commit664fc3ab93716e4ae217b8b7c6619d020cf207be (patch)
tree36dbe42f29ffe434dbe6f9b8691eabcaacb32889 /ctr-std/src/sys
parentMerge pull request #64 from FenrirWolf/nightly-update (diff)
parentUpdate to new panic ABI (diff)
downloadctru-rs-664fc3ab93716e4ae217b8b7c6619d020cf207be.tar.xz
ctru-rs-664fc3ab93716e4ae217b8b7c6619d020cf207be.zip
Merge pull request #65 from FenrirWolf/fix-panics
Update to new panic ABI
Diffstat (limited to 'ctr-std/src/sys')
-rw-r--r--ctr-std/src/sys/unix/stdio.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctr-std/src/sys/unix/stdio.rs b/ctr-std/src/sys/unix/stdio.rs
index e9b3d4a..87ba2ae 100644
--- a/ctr-std/src/sys/unix/stdio.rs
+++ b/ctr-std/src/sys/unix/stdio.rs
@@ -75,3 +75,7 @@ pub fn is_ebadf(err: &io::Error) -> bool {
}
pub const STDIN_BUF_SIZE: usize = ::sys_common::io::DEFAULT_BUF_SIZE;
+
+pub fn stderr_prints_nothing() -> bool {
+ false
+}