forked from Imagelibrary/rtems
Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>.
41 lines
735 B
C
41 lines
735 B
C
/**
|
|
* @file
|
|
*
|
|
* @brief Clock set Enable Attribute Access
|
|
* @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.org/license/LICENSE.
|
|
*/
|
|
|
|
#if HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <time.h>
|
|
#include <errno.h>
|
|
|
|
#include <rtems/system.h>
|
|
#include <rtems/score/isr.h>
|
|
#include <rtems/score/thread.h>
|
|
|
|
#include <rtems/seterr.h>
|
|
|
|
/*
|
|
* 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58
|
|
*/
|
|
|
|
int clock_setenable_attr(
|
|
clockid_t clock_id,
|
|
int attr
|
|
)
|
|
{
|
|
rtems_set_errno_and_return_minus_one( ENOSYS );
|
|
}
|