diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-05-17 03:48:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-05-17 03:48:24 +0000 |
commit | ba5c8371ab097f269bc29c302ebc655a1a59f12a (patch) | |
tree | 938a5eea5ccadc70509a856d718adb800b386a03 /test/test_fcntl.rs | |
parent | 8498bd97e0cd6d6cd84ff472a28c6f55850c61e1 (diff) | |
parent | 4e97520799ca50e8dde47bfe3d098b992aafe1d8 (diff) | |
download | nix-ba5c8371ab097f269bc29c302ebc655a1a59f12a.zip |
Merge #556
556: Add various pty functions r=asomers
* grantpt
* posix_openpt
* ptsname/ptsname_r
* unlockpt
I've refactored my code to use these functions and they work correctly at least in the non-error case. Only issue is what to do for failure in `ptsname` when converting strings. This should effectively never happen. I think maybe adding an `Unknown` to the `Error` type and returning that might be useful.
Diffstat (limited to 'test/test_fcntl.rs')
0 files changed, 0 insertions, 0 deletions