[lkml]   [2005]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectproper API for sched_setaffinity ?
    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

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

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

    Which is correct?

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-25 19:54    [W:0.019 / U:91.060 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site