]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Use waitpid() in a portable fashion
authorDaniel Lenski <dlenski@gmail.com>
Mon, 6 Aug 2018 07:48:01 +0000 (00:48 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 6 Aug 2018 18:48:15 +0000 (11:48 -0700)
commitf06b564fa2d5d9e6cee3367d1ec4b564ffe020af
treec6a784ba1a10d31eb957ee5c8de1c73dcb869159
parent42918c34d6585ca94f1b95ecc64958cea8842a70
Use waitpid() in a portable fashion

The status value set by waitpid() needs to be manipulated using
WIFEXITED() and WEXITSTATUS() macros to be portable.
gpst.c