This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

struct sched_param -- nearly, but not quite POSIX ?


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]