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


        
                    

                                                            

   


                                                                     
                            
                                                    


                                                           
                                         

   
                    


                   


                    
                         
 




                          
                                                 
 
/**
 * @file
 *
 * @ingroup POSIXAPI
 *
 * @brief Returns Clock ID for CPU time clock of the thread 
 */

/*
 *  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.org/license/LICENSE.
 */

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

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

#include <rtems/seterr.h>

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