summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/src/sched_setscheduler.c
blob: 1ce173ff5c902b3e8f5d64358b84ec6b53b5f778 (plain) (tree)
1
2
3
4
5
6
7
8

        
  
                                                         
                    


   





                                                           












                               
                                     


                             


                                                           



                                                 
/**
 * @file
 *
 * @brief Set Scheduling Policy and Scheduling Parameters
 * @ingroup POSIXAPI
 */

/*
 *  COPYRIGHT (c) 1989-2007.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <sched.h>
#include <errno.h>

#include <rtems/system.h>
#include <rtems/score/tod.h>
#include <rtems/score/thread.h>
#include <rtems/seterr.h>
#include <rtems/posix/priorityimpl.h>
#include <rtems/posix/time.h>

int sched_setscheduler(
  pid_t                     pid __attribute__((unused)),
  int                       policy __attribute__((unused)),
  const struct sched_param *param __attribute__((unused))
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}