summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorJohnnie Birch <45402135+jlb6740@users.noreply.github.com>2019-05-15 22:18:21 -0700
committerJohnnie Birch <45402135+jlb6740@users.noreply.github.com>2019-07-14 14:58:17 -0700
commit273fb635cc3a97ab09e412e813783469ca436a33 (patch)
tree8582fb060ac2cac41ea613efbf080520d4a98e1a /src/sys
parentdb72b7ea35c8200d79f4af324349fc3b49074079 (diff)
downloadnix-273fb635cc3a97ab09e412e813783469ca436a33.zip
Implement unlinkat
This adds the unlinkat function, which is part of POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/unlinkat.html and widely implmented on Unix-family platforms. Implement unlinkat - Update comments to unlink at and breakup tests Changes made based on comments from pull request #1058 Implement unlinkat - Update should_panic for more precise check Updae should_panic attribute for more precise check. Also remove some dead code and note the pull request ID. Implement unlinkat - Update error handling to use unwrap_err The previous patch failed testing on two targets that returned EPERM as the Sys error instead of EISDIR. This patch changes from using the should_panic attribute to using the unwrap_err and matching against the result. Implement Unlinkat - Passing tests should not print anything. Fix. Implement unlinkat - Update location of commit comment in the CHANGELOG Implement unlinkat - Remove newline
Diffstat (limited to 'src/sys')
0 files changed, 0 insertions, 0 deletions