pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:339:
*! The day of the week as a decimal, range 0 to 6, Sunday being 0. *! See also @expr{%u@}. *! @enddl */ PIKEFUN string strftime(string(1..255) format) { char *buffer = xalloc( 8192 ); buffer[0] = 0; strftime_zone( buffer, 8192, format->str, &THIS->t ); push_text( buffer );
+
free(buffer);
} /*! @decl int(0..60) sec; *! @decl int(0..59) min; *! @decl int(0..59) hour; *! @decl int(1..31) mday; *! @decl int(0..11) mon; *! @decl int year; *! *! The various fields in the structure. Note that setting these