Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-12 | Added getpgrp | zethra | |
2016-11-23 | Fixed typo in tcsetpgrp | zethra | |
2016-11-13 | Avoid TempDir::into_path(), because it doesn't cleanup on Drop | Alan Somers | |
2016-11-08 | Added .map(drop) as requested | zethra | |
2016-11-08 | Merge remote-tracking branch 'upstream/master' | zethra | |
2016-11-08 | Added documention to tcgetpgrp and tcsetpgrp | zethra | |
2016-11-01 | unistd: doc updates based on review comments | Paul Osborne | |
These make the language consistent in the 3rd person, fix a few minor mistakes, and remove some superflous prose. Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-29 | unistd: add module-level doc comment that makes sense | Paul Osborne | |
The previous one was entirely too generic. Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-29 | unistd: add documentation for the daemon function | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-29 | unistd: add docs for exec* functions | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-30 | Auto merge of #449 - posborne:documentation-improvements, r=kamalmarhubi | Homu | |
Documentation improvements This series of commits starts to fill in documentation that was not previously present for various calls, mostly in unistd for this pass. r? @kamalmarhubi | |||
2016-10-28 | remove extra line in the commit | kiddkai | |
2016-10-28 | add getpgid | kiddkai | |
2016-10-27 | unistd: add docs for chown | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add docs for chdir | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: document the dup, dup2, and dup3 calls | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add documentation for gettid | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add setsid implementation | Paul Osborne | |
This is a logical companion to setpgid, so adding an implementation. Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add documentation for setpgid | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add docs for getpid/getppid | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-27 | unistd: add better docs for fork() | Paul Osborne | |
Signed-off-by: Paul Osborne <osbpau@gmail.com> | |||
2016-10-26 | Add setresuid and setresgid | Dylan Reid | |
These were both recently added to libc, add wrappers. Signed-off-by: Dylan Reid <dgreid@chromium.org> --- Changes since v2: Updated function comments and CHANGELOG Changes since v1: Add function comments, update CHANGELOG | |||
2016-10-02 | Auto merge of #428 - philippkeller:mkstemp, r=fiveop | Homu | |
Add Mkstemp (fixed for rust 1.2) I fixed @antifuchs addition of `mkstmp` in https://github.com/nix-rust/nix/pull/365 by making it compile in Rust 1.2 and adding documentation. A few remarks: - made it working with Rust 1.2 which needed `to_bytes_with_nul()`. I think the implementation is memory safe but would like to have a pair of eyes checking that - replaced Path by PathBuf so it's more in line with getcwd - I didn't move it into another module. If this still the consensus then I would like to do that but in a separate PR (probably moving all stdio methods out) - it's true that unistd doesn't need mkstmp since there is the crate tempdir and tempfile, but I'd love to see this here for completeness | |||
2016-09-28 | Add debug_assert ensuring popped byte is nul | Philipp Keller | |
2016-09-27 | Remove double copy of array (to_owned() and PathBuf::from), use ↵ | Philipp Keller | |
OsString::from_vec on existing path var rather than construct string from pointer | |||
2016-09-27 | move path outside closure to avoid use after free, restructed for easier ↵ | Philipp Keller | |
readability | |||
2016-09-16 | fixing build for aarch64-unknown-linux-gnu (which expects the pointer to be ↵ | Philipp Keller | |
*mut u8 whereas x86_64 and i686 expect it to be *mut i8) | |||
2016-09-16 | made it running with rust 1.2, added documentation to mkstemp | Philipp Keller | |
2016-09-15 | make unsafe code more fine-grained in pipe2 | Jack O'Connor | |
2016-09-14 | call pipe2 directly on Linux | Jack O'Connor | |
2016-09-07 | resolving all remarks by @posborne, fixed max line length=99, fixed rust ↵ | Philipp Keller | |
1.2.0 error in doc-test | |||
2016-09-06 | rust 1.2.0 doesn't support expect, switched to proper match block | Philipp Keller | |
2016-09-06 | added documentation for getcwd and mkdir, changed test so that it compares ↵ | Philipp Keller | |
against std::env::current_dir | |||
2016-09-06 | fixed the trailing whitespaces | Philipp Keller | |
2016-09-06 | made it running with rust 1.2.0: the code for getcwd is now an exact copy of ↵ | Philipp Keller | |
the implementation in std | |||
2016-09-05 | implemented mkdir, extended getcwd test to include long path names | Philipp Keller | |
2016-09-02 | implemented getcwd (returning Result<PathBuf>, reconciling all calls to ↵ | Philipp Keller | |
expect into proper try handling), needs testing still | |||
2016-08-10 | Fix the sethostname binding on FreeBSD and DragonflyBSD | Alan Somers | |
2016-06-13 | Added lseek to unistd | Andrei Oprisan | |
llseek and lseek64 impl Whence fixed formatting awful typo when refactoring no llseek wrong test name using off64_t got rid of offset Added SeekHole/Data; formatted test; SeekCur/Set/End use libc constants | |||
2016-05-06 | Use Wrapping for intended underflow of unsigned integer value. | Philipp Matthias Schaefer | |
2016-05-01 | Return both the fd and the created path | Andreas Fuchs | |
2016-05-01 | Add mkstemp(3) | Andreas Fuchs | |
2016-04-18 | Use Void in exec return type | arcnmx | |
2016-04-14 | Auto merge of #350 - llogiq:clippy, r=posborne | Homu | |
fixed a few clippy warnings Just a few style nits. Hope it'll be useful anyway :smile: | |||
2016-04-13 | unistd: Add sleep(3) | Kamal Marhubi | |
2016-04-14 | fixed a few clippy warnings | Andre Bogus | |
2016-03-30 | unistd: Mark fork() and related methods as #[inline] | Kamal Marhubi | |
2016-03-30 | unistd: Redesign the enum returned by fork() | Kamal Marhubi | |
This commit changes the name of the enum returned by `fork()` to `ForkResult`, and changes the `Parent` variant to be struct-like. The result can be matched like use nix::unistd::ForkResult::*; match fork().unwrap() { Parent { child } => { ... } Child => { ... } } using the shorthand matching syntax for struct-like enum variants. This is a breaking change. | |||
2016-03-30 | unistd: Add pause(2) | Kamal Marhubi | |
2016-03-07 | Add gettid | Dave Hylands | |