Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created August 2, 2019 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leandromoreira/973a5d02664c2a7cd7e2e2c1c969a73e to your computer and use it in GitHub Desktop.
Save leandromoreira/973a5d02664c2a7cd7e2e2c1c969a73e to your computer and use it in GitHub Desktop.
struct file_operations {
struct module *owner;
loff_t (*llseek) (struct file *, loff_t, int);
ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment