commit | b288853ffa01fbce1f5831ae6d387520c8882aec | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Fri Dec 09 14:07:18 2016 +0100 |
committer | Philipp Maier <pmaier@sysmocom.de> | Tue Feb 07 13:39:00 2017 +0100 |
tree | a37468ea47c91bb98f8f56385f68e45e7ecc628b | |
parent | 7132011afa1741f8cc435250a6981a4f6919f396 [diff] |
select: add functionality to check socket state osmo_fd_register() is used to register socket file descriptors, after registering a socket, there is no way to test if the socket is still registered or actually registered at all. This commit adds a new function osmo_fd_register_check() that can be used to check in advance, if the socket fd is registered, before performing further operations. Change-Id: I48ec7098d6bba586c81bf0d5c9088108e2c081c6