MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / sr_session_source_remove_pollfd

Function sr_session_source_remove_pollfd

libsigrok4DSL/session.c:547–550  ·  view source on GitHub ↗

* Remove the source belonging to the specified poll descriptor. * * @param pollfd The poll descriptor for which the source should be removed. * * @return SR_OK upon success, SR_ERR_ARG upon invalid arguments, or * SR_ERR_MALLOC upon memory allocation errors, SR_ERR_BUG upon * internal errors. */

Source from the content-addressed store, hash-verified

545 * internal errors.
546 */
547SR_PRIV int sr_session_source_remove_pollfd(GPollFD *pollfd)
548{
549 return _sr_session_source_remove((gintptr)pollfd);
550}
551
552/**
553 * Remove the source belonging to the specified channel.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected