source: rtems/cpukit/posix/src/sched_getscheduler.c @ 97552c98

4.115
Last change on this file since 97552c98 was 97552c98, checked in by Sebastian Huber <sebastian.huber@…>, on 07/19/13 at 12:15:59

posix: Create priority implementation header

Move implementation specific parts of priority.h and priority.inl into
new header file priorityimpl.h. Remove priority.h since there is no
application visible API.

  • Property mode set to 100644
File size: 833 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Function Returns Scheduling Policy of the process specified by pid
5 * @ingroup POSIXAPI
6 */
7
8/*
9 *  13.3.4 Get Scheduling Policy, P1003.1b-1993, p. 256
10 *
11 *  COPYRIGHT (c) 1989-2007.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 */
18
19#if HAVE_CONFIG_H
20#include "config.h"
21#endif
22
23#include <sched.h>
24#include <errno.h>
25
26#include <rtems/system.h>
27#include <rtems/score/tod.h>
28#include <rtems/score/thread.h>
29#include <rtems/seterr.h>
30#include <rtems/posix/priorityimpl.h>
31#include <rtems/posix/time.h>
32
33int sched_getscheduler(
34  pid_t                     pid __attribute__((unused))
35)
36{
37  rtems_set_errno_and_return_minus_one( ENOSYS );
38}
Note: See TracBrowser for help on using the repository browser.