struct sched_param -- nearly, but not quite POSIX ?
'Chris Hall'
chris.hall.list@highwayman.com
Wed May 2 14:39:00 GMT 2012
Am I in the right place ?
'struct sched_param' is defined by POSIX to have at least one element:
'int sched_priority'.
Imagine my surprise when I find in <bits/sched.h>:
/* The official definition. */
struct sched_param
{
int __sched_priority;
};
...is there a better definition of 'struct sched_param' I should seek
out and use ? Or am a stuck with this ?
Is there some reason for this non-standard "official" definition ?
Thanks,
Chris
--
Chris Hall, Highwayman.
More information about the Libc-help
mailing list