Skip to content
Snippets Groups Projects
  1. Sep 13, 2020
    • Daniil Bondarev's avatar
      Use safe_f! consistently across platforms · 773f5562
      Daniil Bondarev authored
      The pr #1870 introduced safe_f! macro, which made some functions like
      WIFEXITED and WEXITSTATUS const and safe on linux_like platform only,
      which causes inconsistency when trying to use those functions in crates
      compiled across multiple platforms, as using unsafe on those functions
      will generate unused_unsafe warning on linux platforms and lack of
      unsafe block will fail compilation on non-linux platforms.
      
      To avoid the inconsistency, this commit applies the same macro for all
      the same functions on other platforms too.
      773f5562
  2. Sep 10, 2020
  3. Sep 09, 2020
  4. Sep 04, 2020
  5. Sep 03, 2020
  6. Sep 02, 2020
  7. Aug 31, 2020
  8. Aug 30, 2020
  9. Aug 28, 2020
    • Thomas de Zeeuw's avatar
      Add IOV_MAX and UIO_MAXIOV constants · 41fb4805
      Thomas de Zeeuw authored
      These constant can be used to determine the maximum number of iovecs can
      be passed to functions like readv/writev.
      
      Linux like uses UIO_MAXIOV, while the BSD family uses IOV_MAX.
      41fb4805
  10. Aug 25, 2020
  11. Aug 24, 2020
  12. Aug 23, 2020
  13. Aug 22, 2020
  14. Aug 21, 2020
  15. Aug 20, 2020
  16. Aug 19, 2020
Loading