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

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:2134:    *! You can call @[unread(0)] to see how much.    */    PIKEFUN int(-1..) unread( int bytes )    {    Pike_sp--;    push_int64( io_rewind( THIS, bytes ) );    }       /*! @decl string(8bit) read( int n )    *! -  *! Read @[bytes] bytes of data from the buffer. +  *! Read @[n] bytes of data from the buffer.    *!    *! If there is not enough data available this returns 0.    *!    *! @seealso    *! @[try_read()]    */    PIKEFUN string(0..255) read( int bytes )    {    struct pike_string *s;    Pike_sp--;