Skip to content

Instantly share code, notes, and snippets.

@athoik
Created November 26, 2017 20:22
Show Gist options
  • Save athoik/6ff1e1b5f11b5207cdb38ba21b2f87d7 to your computer and use it in GitHub Desktop.
Save athoik/6ff1e1b5f11b5207cdb38ba21b2f87d7 to your computer and use it in GitHub Desktop.
A sample to demonstrate the values of SYS_ioprio_get and SYS_ioprio_set when using syscall header
#include <sys/syscall.h>
#include <iostream>
int main()
{
std::cout << "SYS_ioprio_get:" << SYS_ioprio_get << " SYS_ioprio_set:" << SYS_ioprio_set << std::endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment