io/fdpass: add flag to close fd after sending.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Mar 2017 02:47:15 +0000 (13:17 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Mar 2017 02:47:15 +0000 (13:17 +1030)
commit60e31637d7545a22844a3c0f46833031bce4295f
tree3b4f07b06fb43da3fc9bbf991b7071dd67e5d76c
parent4f6d604ce616e70659b8494fd41ecd41e8fca30a
io/fdpass: add flag to close fd after sending.

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