.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "TASK_PRIO" "" "06 October 2005" "" "" .SH NAME task_prio \- return the priority value of a given task. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int task_prio (task_t * \fIp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIp\fB\fR the task in question. .SH "DESCRIPTION" .PP This is the priority value as seen by users in /proc. RT tasks are offset by -200. Normal tasks are centered around 0, value goes from -16 to +15.