io: add io_conn_fd()
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 21 Oct 2013 05:33:58 +0000 (16:03 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 21 Oct 2013 05:33:58 +0000 (16:03 +1030)
commit8700faf27fe4cf9554fec2260bdabd67eabf69ae
tree0a7ecb32428422adb4e0eca38a7c230bb83ee557
parente40f5c50a7a930fc98974936b7366b498ebf984c
io: add io_conn_fd()

Useful for getsockname().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c
ccan/io/io.h
ccan/io/test/run-01-start-finish.c