Debian Codegraph @

07p/src/unix.f90

raw symbols SCIP
1 module compat
2
3 implicit none
4 public :: autoflush, autim, autargc, autgetarg
5
6 contains
7
8 ! This file calls Unix extensions (see f2003.f90 for the new Standard forms)
9
10 subroutine autoflush(i)
11 integer, intent(in) :: i
12 call flush(i)
13 end subroutine autoflush
14
15 !-----------------------------------------------------------------------
16 ! Timing AUTO
17 !-----------------------------------------------------------------------
18
19 ! ------ --------- --------
20 double precision function autim()
21
22 real t(2),etime
23 autim = etime(t)
24
25 end function autim
26
27 integer function autargc()
28 integer iargc
29 autargc = iargc()
30 end function autargc
31
32 subroutine autgetarg(number,value)
33 integer, intent(in) :: number
34 character(len=*), intent(out) :: value
35 call getarg(number,value)
36 end subroutine autgetarg
37
38 end module compat