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

Public 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 )

Definition at line 53 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: