Skip to content
RED SAG Skills
medium10 pts · first answer countsembedded-cfunction-pointers

Callbacks with a context pointer

A driver API registers callbacks as void (*cb)(void *ctx) together with a void *ctx. Why include ctx?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions