diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2016-12-09 14:07:18 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-02-07 13:39:00 +0100 |
commit | b288853ffa01fbce1f5831ae6d387520c8882aec (patch) | |
tree | a37468ea47c91bb98f8f56385f68e45e7ecc628b /include/osmocom/core/msgb.h | |
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
Diffstat (limited to 'include/osmocom/core/msgb.h')
0 files changed, 0 insertions, 0 deletions