Skip to content
Snippets Groups Projects
  1. Jun 27, 2017
  2. Jun 26, 2017
  3. Jun 25, 2017
    • Bryant Mairs's avatar
      Add termios local flags · 297d5b7d
      Bryant Mairs authored
      297d5b7d
    • bors's avatar
      Auto merge of #616 - Arvamer:linux_input_types, r=alexcrichton · a38631f4
      bors authored
      Add structs defined in linux/input.h
      
      I was using definitions for these structs from `ioctl` but because @cmr decide to deprecate his crate (and yanked all versions :() I think that `libc` is the best place for them.
      
      In original C header, primitive types uses aliases like `__u16` or `__s32`; for now I replaced them with Rust's counterparts but I'm not sure if it is ok, especially because tests were failing for `u64` (`unsigned long long` vs `unsigned long` on x86_64). Also, should I do something special with union in `ff_effect`?
      
      I would like also to add all constants form `linux/input.h` and `linux/input-event-codes.h` if this PR will be accepted.
      a38631f4
  4. Jun 24, 2017
  5. Jun 23, 2017
  6. Jun 20, 2017
  7. Jun 19, 2017
  8. Jun 16, 2017
  9. Jun 15, 2017
  10. Jun 14, 2017
  11. Jun 13, 2017
    • bors's avatar
      Auto merge of #611 - vityafx:add-pthread-priority-functions, r=alexcrichton · c25d6570
      bors authored
      Add schedule params & priority pthread functions
      
      Fixes #609. Provides bindings to `pthread_getschedparam`, `pthread_setschedparam` and `pthread_setschedprio` functions.
      
      P.S. My first PR in such a project.
      P.P.S. `libc-test` crashed at building stage with a lot of errors, so I hope `travis` will do a check.
      P.P.P.S. These functions are tested to work on Linux (Ubuntu 14.04) with my own crate. I will release it next week, it provides ability to control thread schedule policies and priorities.
      c25d6570
    • bors's avatar
      Auto merge of #571 - Mic92:dirfd, r=alexcrichton · 539e50c4
      bors authored
      add dirfd on unix
      539e50c4
Loading