pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:119:    {    if( format->size_shift || data->size_shift )    Pike_error("Only 8bit strings are supported\n");    THIS->modified = 1;    if( strptime_zone( data->str, format->str, &THIS->t ) == NULL )    RETURN 0;    RETURN 1;    }   #endif /* HAVE_STRPTIME */    /*! @decl string(1..255) strftime( string(1..255) format ) -  *! See also @[Gettext.setlocale] +     *!    *! @seealso -  *! @[strftime] +  *! @[strftime], @[Gettext.setlocale]    */    PIKEFUN string(1..255) strftime(string(1..255) format)    {    char buffer[8192];    buffer[0] = 0;    strftime_zone(buffer, sizeof(buffer), format->str, &THIS->t);    push_text(buffer);    }       /*! @decl int(0..60) sec;