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


                                                                     
                            
                                                    


                                                           
                                         



        



                   


                    
                         
                         
 




                          
                                                 
 
/*
 *  20.1.6 Accessing a Thread CPU-time Clock, P1003.4b/Draft 8, p. 58
 *
 *  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.
 *
 *  $Id$
 */

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

#include <pthread.h>
#include <errno.h>

#include <rtems/system.h>
#include <rtems/seterr.h>

int pthread_getcpuclockid(
  pthread_t    pid,
  clockid_t   *clock_id
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}