Back to index

glibc  2.9
Functions
spawnattr_getschedpolicy.c File Reference
#include <spawn.h>
#include <string.h>

Go to the source code of this file.

Functions

int posix_spawnattr_getschedpolicy (const posix_spawnattr_t *attr, int *schedpolicy)

Function Documentation

Definition at line 24 of file spawnattr_getschedpolicy.c.

{
  /* Copy the scheduling policy.  */
  *schedpolicy = attr->__policy;

  return 0;
}