pike.git / src / modules / _Stdio / buffer.cmod

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:1682:    *! Makes this buffer read only until the returned object is released.    *!    *! @note    *! This currently simply returns a 0-length subbuffer.    */    PIKEFUN Buffer lock()    {    push_object( io_read_buffer( THIS, 0, 0 ) );    }    -  PIKEFUN string(8bit) _sprintf(int o, mapping UNUSED) +  PIKEFUN string(8bit) _sprintf(int o, mapping|void UNUSED)    flags ID_PROTECTED;    {    size_t bytes;    pop_n_elems(args-1);    Pike_sp--;    switch( o )    {    case 'O':    {    push_static_text("%O(%d bytes, read=[..%d] data=[%d..%d] free=[%d..%d] %s%s)");