summaryrefslogtreecommitdiff
path: root/src/unistd.rs
AgeCommit message (Collapse)Author
2015-05-28Remove std::os::unix::io::RawFd re-exportCarl Lerche
2015-05-21Fix NixPath yield with CStr instead of OsStrCarl 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-19added getpid and getppidMarkus Jais
2015-05-05feat: add execvpeQingping Hou
2015-04-28feat: add chroot syscallQingping Hou
2015-04-06Get compiling on Rust 1.0 betaCarl 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 nowFlorian Hartwig
2015-03-24NixResult -> nix::Result; NixError -> nix::ErrorCarl Lerche
2015-03-13Amend some files to make it compile on arm-linux-androideabi.kennytm
2015-02-27Temporarily remove mountCarl Lerche
2015-02-27Further SockAddr & NixPath cleanupCarl Lerche
2015-02-25Large cleanup, mostly of socket functionsCarl Lerche
2015-02-21Cleanup readv & writev + testsCarl Lerche
2015-02-20Mark T as Phantom in IovecSebastian Lauwers
2015-02-12Add a test for sys::stat functionMarkus Jais
2015-02-10Add `NixPath`, `NixError`, and `NixResult`.Utkarsh Kukreti
2015-02-06path -> old_pathFlorian Hartwig
2015-01-26Add a safe wrapper for `libc::isatty`.Utkarsh Kukreti
2015-01-13changed uint and int to usize and isize respectivelyRick Richardson
2015-01-07more cstr falloutRick Richardson
2015-01-07ToCStr removal falloutValerii Hiora
2015-01-03Update to rust masterValerii Hiora
- cstr fallout - deriving -> derive - lib stabilization warnings removal
2015-01-02Track rust masterValerii Hiora
- Updated array syntax - task_rng -> thread_rng
2014-12-10Fallout of Copy becoming opt-in.Victor Berger
2014-11-19Use namespaced enum variants.Roma Sokolov
As per this pull request https://github.com/rust-lang/rust/pull/18973, enum variants require fully qualified path to access them. This commit introduces boring changes to make nix-rust compiles againts new rust.
2014-10-27Add mmap, shm_open and other mman relativesPhil Vachon
Add various wrappers to make interacting with Rust a bit more pleasant for memory management. Additionally, provide ftruncate(2), which is useful when working with shared memory. Allow managing CPU affinity of a Rust Task living in a system thread.
2014-10-20Add recvfrom(2) and sendto(2) wrappersPhil Vachon
Add FFI function call wrappers for recvfrom(2) and sendto(2) to enable the use of connectionless sockets.
2014-10-11Implement scatter/gather IO: writev & readv.Roma Sokolov
Also added tests to check them.
2014-10-08Bind x86 linuxTilde Engineering
2014-10-07Fix dup3 and accept4 on DarwinTilde Engineering
2014-10-06Fix warningsCarl Lerche
2014-10-06Implement dup3Carl Lerche
2014-10-02Track Rust masterCarl Lerche
2014-09-16execve should take a ref to a CStringCarl Lerche
2014-09-16Provide fork() + error tweaksCarl Lerche
2014-09-15Temporarily remove dup3 supportCarl Lerche
2014-09-14Expose pipe and pipe2Carl Lerche
2014-09-11Add gethostname and sethostnameYehuda Katz
2014-09-11Bind daemon(3)Yehuda Katz
2014-08-20Start binding DarwinCarl Lerche
2014-08-17More socket APIsCarl Lerche
2014-08-16Epoll, rename to nix, misc cleanupCarl Lerche
2014-08-15Bind FD dup fns + misc tweaksCarl Lerche
2014-08-13Add open(), tweak mount functionsCarl Lerche
2014-08-07Initial commitCarl Lerche