Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-16 | made it running with rust 1.2, added documentation to mkstemp | Philipp Keller | |
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 | |
2016-03-06 | unistd: Use bindings from libc instead of our own | Kamal Marhubi | |
Refs https://github.com/nix-rust/nix/issues/264 | |||
2016-02-20 | unistd: add chown syscall | Nikolay Amiantov | |
2016-02-19 | unistd: add setuid, setgid syscalls | Nikolay Amiantov | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | allow improper_ctypes for size_t | Mattis Marjak | |
2016-01-18 | update libc to 0.2.2 | Mattis Marjak | |
2016-01-13 | Add safe wrappers for getuid, geteuid, getgid, getegid | Kamal Marhubi | |
Fixes #213 | |||
2015-12-22 | Fix broken tests on nightly | Carl Lerche | |
2015-12-03 | add an implementation of setpgid | David Roundy | |
2015-10-27 | Add support for fsync, fdatasync | Jeremy Fitzhardinge | |
2015-10-27 | Fix some comments | Jeremy Fitzhardinge | |
2015-10-16 | Fix memory issue with exec family of fns | Carl Lerche | |
2015-08-10 | Add missing exec functions | Nik Klassen | |
2015-07-07 | remove unneeded mut. | Felix Kronlage | |
nightly will comment this with: --- src/unistd.rs:241:13: 241:20 error: variable does not need to be mutable, #[deny(unused_mut)] on by default src/unistd.rs:241 let mut res; --- | |||
2015-07-06 | Add feature flag around execvpe | Tilde Engineering | |
2015-06-24 | Implement more fcntl operations | Andy Grover | |
Derive some more traits on flock to make life easier Change fcntl to return Result<c_int> so we can get results of F_GET* ops. Change pipe2_setflags to match. | |||
2015-05-28 | Remove std::os::unix::io::RawFd re-export | Carl Lerche | |
2015-05-21 | Fix NixPath yield with CStr instead of OsStr | Carl Lerche | |
As described in #117, the `AsExtStr` trait is defined to return a raw `*const libc::c_char`. Its impl for `OsStr` simply borrowed the byte slice from its `OsStr` argument and cast it to a `*const libc::c_char`, which does not construct a proper null-terminated C string. Given this, the `AsExtStr` is not necessary and is removed. `NixPath` is updated to yield `CStr`. Fixes #117, #120 Thanks to @dead10ck | |||
2015-05-19 | added getpid and getppid | Markus Jais | |
2015-05-05 | feat: add execvpe | Qingping Hou | |
2015-04-28 | feat: add chroot syscall | Qingping Hou | |
2015-04-06 | Get compiling on Rust 1.0 beta | Carl Lerche | |
Initially support this by assuming the lowest common denominator. The long term solution is to improve the build system to allow pulling in more specific features that are available on the target system. | |||
2015-04-03 | 'derive(Copy)' needs Clone now | Florian Hartwig | |
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-13 | Amend some files to make it compile on arm-linux-androideabi. | kennytm | |
2015-02-27 | Temporarily remove mount | Carl Lerche | |
2015-02-27 | Further SockAddr & NixPath cleanup | Carl Lerche | |
2015-02-25 | Large cleanup, mostly of socket functions | Carl Lerche | |