lib/ruby/truffle/pr-zlib/lib/pr/rbzlib.rb
#   Returns 1 when EOF has previously been detected reading the given
# input stream, otherwise zero.
Returns 1 when EOF has previously been detected reading the given
input stream, otherwise zero.
Returns 1 when EOF has previously been detected reading the given input stream otherwise zero .
def gzeof(file)
    s = file
    return false if s.nil? || (s.mode!='r')
    return s.z_eof if s.z_eof
    return s.z_err == Z_STREAM_END
  end
def gzeof ( file ) s = file return false if s . nil? || ( s . mode != 'r' ) return s . z_eof if s . z_eof return s . z_err == Z_STREAM_END end
Returns 1 when EOF has previously been detected reading the given
input stream, otherwise zero.
Returns 1 when EOF has previously been detected reading the given input stream otherwise zero .
file
<not_specific>