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

Function sr_session_source_remove

libsigrok4DSL/session.c:533–536  ·  view source on GitHub ↗

* Remove the source belonging to the specified file descriptor. * * @param fd The file 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

531 * internal errors.
532 */
533SR_PRIV int sr_session_source_remove(int fd)
534{
535 return _sr_session_source_remove((gintptr)fd);
536}
537
538/**
539 * Remove the source belonging to the specified poll descriptor.

Callers 9

sr_source_removeFunction · 0.85
sr_session_iterationFunction · 0.85
send_error_packetFunction · 0.85
receive_dataFunction · 0.85
receive_data_logicFunction · 0.85
receive_data_dsoFunction · 0.85
send_error_packetFunction · 0.85

Calls 1

Tested by

no test coverage detected