mirror of
https://github.com/86Box/docs.git
synced 2026-02-21 17:15:33 -07:00
Document I/O traps
This commit is contained in:
@@ -139,7 +139,7 @@ Most devices need a place to store their internal state. We discourage the use o
|
||||
static void
|
||||
foo_close(void *priv)
|
||||
{
|
||||
/* Get the state structure. */
|
||||
/* Get the device state structure. */
|
||||
foo_t *dev = (foo_t *) priv;
|
||||
|
||||
/* Do whatever you want, then deallocate the state structure. */
|
||||
|
||||
Reference in New Issue
Block a user