ecore_signal: check the return value of write(2)
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 25 Feb 2018 09:40:50 +0000 (10:40 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:38 +0000 (20:10 +0900)
commit863756efc7527b946010282c23e7edaa05565653
treefd468268d0bb4dab1573b0ceb89d95516b2bb7ae
parent46b722731ce7f5d30eaf2411c6934b607bb10368
ecore_signal: check the return value of write(2)

Some glibc declare write(2) with the attribute warn unused result.
So we now ensure that the calls to write(2) are successful. Otherwise,
we print an error and update errno accordingly.
src/lib/ecore/ecore_signal.c