SUEWS API Site
Documentation of SUEWS source code
Private Member Functions | List of all members
mod_strftime::c_strftime Interface Reference

Private Member Functions

integer(kind=c_int) function c_strftime (str, slen, format, tm)
 

Detailed Description

Definition at line 53 of file suews_util_datetime.f95.

Constructor & Destructor Documentation

◆ c_strftime()

integer(kind=c_int) function mod_strftime::c_strftime::c_strftime ( character(kind=c_char), dimension(*), intent(out)  str,
integer(kind=c_int), intent(in), value  slen,
character(kind=c_char), dimension(*), intent(in)  format,
type(tm_struct), intent(in)  tm 
)
private

Definition at line 55 of file suews_util_datetime.f95.

55 
56  !! Returns a formatted time string, given input time struct and
57  !! format. Refer to C standard library documentation for more
58  !! information.
59 
60  import :: c_char, c_int
61  import :: tm_struct
62 
63  implicit none
64 
65  ! Arguments
66  character(kind=c_char), dimension(*), intent(out) :: str !! result string
67  integer(kind=c_int), value, intent(in) :: slen !! string length
68  character(kind=c_char), dimension(*), intent(in) :: format !! time format
69  type(tm_struct), intent(in) :: tm !! tm_struct instance
70  integer(kind=c_int) :: rc !! return code
71 

The documentation for this interface was generated from the following file: