]> git.lizzy.rs Git - rust.git/commit
Rename recvfrom -> recv_from, sendto -> send_to.
authorOGINO Masanori <masanori.ogino@gmail.com>
Mon, 30 Jun 2014 03:08:27 +0000 (12:08 +0900)
committerOGINO Masanori <masanori.ogino@gmail.com>
Tue, 1 Jul 2014 23:21:42 +0000 (08:21 +0900)
commitdfdce47988b7d98c617254904f8c62d1f4d83824
tree6dc1271b8f279594eebd2513c76d36e037341f1c
parent44ec28cfac9fa3f738e0e77ccca1d804125fd1dd
Rename recvfrom -> recv_from, sendto -> send_to.

POSIX has recvfrom(2) and sendto(2), but their name seem not to be
suitable with Rust. We already renamed getpeername(2) and
getsockname(2), so I think it makes sense.

Alternatively, `receive_from` would be fine. However, we have `.recv()`
so I chose `recv_from`.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
src/libnative/io/net.rs
src/librustrt/rtio.rs
src/librustuv/homing.rs
src/librustuv/net.rs
src/libstd/io/net/udp.rs