Fix error reporting in case of socketpair failure
commit31206cfb0d8da16db9e0ba75ba7e0dd26a6ba17b
authormalc <moosotc@gmail.com>
Tue, 20 Feb 2018 00:29:38 +0000 (20 03:29 +0300)
committermalc <moosotc@gmail.com>
Tue, 20 Feb 2018 00:29:38 +0000 (20 03:29 +0300)
treea44170d139283ffe58e68f209359e0c0de2f9dec
parentb78cb1629cc7bc2bcd99e62099d22c5295029533
Fix error reporting in case of socketpair failure

To quote SOCKETPAIR(3P):

RETURN VALUE
       Upon successful completion, this function shall return 0; otherwise, −1
       shall be returned and errno set to indicate the error.
main_osx.m