File: posix-timers-extensions.gpb

package info (click to toggle)
libflorist 2006-2lenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,704 kB
  • ctags: 314
  • sloc: ada: 10,587; ansic: 7,869; makefile: 204
file content (49 lines) | stat: -rw-r--r-- 2,320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
------------------------------------------------------------------------------
--                                                                          --
--            FLORIST (FSU Implementation of POSIX.5) COMPONENTS            --
--                                                                          --
--               P O S I X . T I M E R S . E X T E N S I O N S              --
--                                                                          --
--                                  B o d y                                 --
--                                                                          --
--                                                                          --
--  This  file is a component  of FLORIST,  an implementation of the POSIX  --
--  Ada  bindings  for  use with the GNAT Ada compiler and the FSU Gnu Ada  --
--  Runtime Library (GNARL).                                                --
--                                                                          --
--  FLORIST is free software;  you can  redistribute  it and/or  modify it  --
--  under terms of the  GNU  General  Public  License as  published by the  --
--  Free Software Foundation;  either version  2, or (at  your option) any  --
--  later version.  FLORIST is distributed  in  the hope  that  it will be  --
--  useful, but WITHOUT ANY WARRANTY;  without  even the implied  warranty  --
--  of MERCHANTABILITY or FITNESS FOR A PARTICULAR  PURPOSE.  See  the GNU  --
--  General Public License for more details.  You  should have  received a  --
--  copy of the GNU General Public License  distributed  with  GNARL;  see  --
--  file  COPYING.  If not,  write to  the  Free  Software  Foundation, 59  --
--  Temple Place - Suite 330, Boston, MA 02111-1307, USA.                   --
--                                                                          --
--
--
--
--
--
--
--
------------------------------------------------------------------------------

package body POSIX.Timers.Extensions is

   --------------------
   -- Clock_SGI_Fast --
   --------------------

   function Clock_SGI_Fast return Clock_ID is
   begin
#  if HAVE_IRIX_Timers then
      return POSIX.C.CLOCK_SGI_FAST;
#  else
      return -1;
#  end if;
   end Clock_SGI_Fast;

end POSIX.Timers.Extensions;