rust/src/libstd/sys/unix
Alex Crichton 5c3fe111d4 std: Avoid use of libc in portable modules
This commit removes usage of the `libc` crate in "portable" modules like
those at the top level and `sys_common`. Instead common types like `*mut
u8` or `u32` are used instead of `*mut c_void` or `c_int` as well as
switching to platform-specific functions like `sys::strlen` instead of
`libc::strlen`.
2017-11-09 07:56:44 -08:00
..
backtrace std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
ext Rollup merge of #45582 - GuillaumeGomez:doc-unix-missing-links, r=frewsxcv 2017-11-08 10:09:15 +01:00
process Auto merge of #45041 - est31:master, r=alexcrichton 2017-10-09 04:59:02 +00:00
android.rs Android: Fix unused-imports warning 2016-10-14 23:02:47 +02:00
args.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
cmath.rs std: Move the cmath module into the sys module 2017-11-08 20:42:23 -08:00
condvar.rs Fix some tests for linux gnux32 2017-10-20 13:18:16 -02:00
env.rs Remove nacl from libstd 2017-10-05 05:01:41 +02:00
fast_thread_local.rs rustc: Enable #[thread_local] for Windows 2017-06-23 16:11:39 -07:00
fd.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
fs.rs Fix some tests for linux gnux32 2017-10-20 13:18:16 -02:00
l4re.rs replace libc::res_init with res_init_if_glibc_before_2_26 2017-10-05 17:53:10 -04:00
memchr.rs Use less size_t casts in libstd since it's now defined as usize 2016-10-08 15:48:28 +02:00
mod.rs std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
mutex.rs Fix undefined behavior when re-locking a mutex from the same thread 2016-06-02 13:31:01 +01:00
net.rs Fix TcpStream::connect_timeout on linux 2017-10-14 13:56:30 -07:00
os.rs Rollup merge of #45059 - tmccombs:pid, r=alexcrichton 2017-10-26 03:02:48 +08:00
os_str.rs Avoid allocations in Debug for os_str 2017-06-15 20:42:37 +01:00
path.rs std: Move platform specific path code into sys 2016-10-01 19:28:17 +00:00
pipe.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
rand.rs std: Remove rand crate and module 2017-11-08 20:41:17 -08:00
rwlock.rs Fix typos in unix/rwlock.rs 2016-08-19 21:12:36 -04:00
stack_overflow.rs Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
stdio.rs std: Change how EBADF is handled in sys 2017-11-08 20:41:17 -08:00
thread.rs std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
thread_local.rs std: Avoid locks during TLS destruction on Windows 2017-05-05 06:59:49 -07:00
time.rs Fix some tests for linux gnux32 2017-10-20 13:18:16 -02:00
weak.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00