All of lore.kernel.org
 help / color / mirror / Atom feed
* proper API for sched_setaffinity ?
@ 2005-05-25 17:50 Chris Friesen
  2005-05-25 18:26 ` Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Friesen @ 2005-05-25 17:50 UTC (permalink / raw)
  To: linux-kernel

On my system (Mandrake 10.0) the man page for sched_setaffinity() lists 
the prototype as:

int  sched_setaffinity(pid_t  pid,  unsigned  int  len,  unsigned  long
        *mask);


But /usr/include/sched.h gives it as

extern int sched_setaffinity (__pid_t __pid, __const cpu_set_t *__mask)

Which is correct?

Chris

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-26  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25 17:50 proper API for sched_setaffinity ? Chris Friesen
2005-05-25 18:26 ` Christoph Hellwig
2005-05-25 18:33 ` Sergey Vlasov
2005-05-26  9:02 ` P

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.