This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_pthread_get_process_niceness

Function Documentation

int rc_pthread_get_process_niceness(void)

fetches the niceness value of the executing process

This is just a helpful wrapper for the system getpriority function and returns the same value.

Returns

niceness (-20 to 20) or -1 on failure and sets errno