summaryrefslogtreecommitdiff
path: root/test/test_sendfile.rs
diff options
context:
space:
mode:
authorNelson Chen <crazysim@gmail.com>2017-08-24 00:47:20 -0700
committerNelson Chen <crazysim@gmail.com>2017-08-24 10:40:07 -0700
commit505bed350d37811c1ed52302f4b820711a57041f (patch)
treecfe0af2bc6cbbd18242870f32f558dd9db95a6e2 /test/test_sendfile.rs
parentb76cbeea39a1e11872e9316711ac093dc99ad91d (diff)
downloadnix-505bed350d37811c1ed52302f4b820711a57041f.zip
Mark and document pty::ptsname() as unsafe
`ptsname()` mutates global variables and mutating global variables is always considered `unsafe` by Rust. Reference: https://github.com/nix-rust/nix/pull/742#issuecomment-324385919
Diffstat (limited to 'test/test_sendfile.rs')
0 files changed, 0 insertions, 0 deletions