Back to index

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

Go to the source code of this file.

Functions

int posix_spawnattr_getschedparam (const posix_spawnattr_t *attr, struct sched_param *schedparam)

Function Documentation

int posix_spawnattr_getschedparam ( const posix_spawnattr_t attr,
struct sched_param schedparam 
)

Definition at line 24 of file spawnattr_getschedparam.c.

{
  /* Copy the scheduling parameters.  */
  memcpy (schedparam, &attr->__sp, sizeof (attr->__sp));

  return 0;
}