Last active
May 3, 2016 21:20
-
-
Save naehrwert/6c7f02483eea591f57d7fa15cad7b420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int _ioctlv(int fd, int cmd, u32 num_in, u32 num_io, ioctlv_vec *vec, ...) | |
{ | |
/* ... */ | |
dev_ctxt *dev = get_dev(...); | |
u32 num_total = num_int + num_out; | |
/* ... */ | |
/* Copy in vectors if num_total <= 8 else use external vectors. */ | |
/* Check vector buffer addrs. */ | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment