Lines Matching refs:fp
33 _IO_new_fclose (FILE *fp) in _IO_new_fclose() argument
37 CHECK_FILE(fp, EOF); in _IO_new_fclose()
43 if (_IO_vtable_offset (fp) != 0) in _IO_new_fclose()
44 return _IO_old_fclose (fp); in _IO_new_fclose()
48 if (fp->_flags & _IO_IS_FILEBUF) in _IO_new_fclose()
49 _IO_un_link ((struct _IO_FILE_plus *) fp); in _IO_new_fclose()
51 _IO_acquire_lock (fp); in _IO_new_fclose()
52 if (fp->_flags & _IO_IS_FILEBUF) in _IO_new_fclose()
53 status = _IO_file_close_it (fp); in _IO_new_fclose()
55 status = fp->_flags & _IO_ERR_SEEN ? -1 : 0; in _IO_new_fclose()
56 _IO_release_lock (fp); in _IO_new_fclose()
57 _IO_FINISH (fp); in _IO_new_fclose()
58 if (fp->_mode > 0) in _IO_new_fclose()
62 struct _IO_codecvt *cc = fp->_codecvt; in _IO_new_fclose()
71 if (_IO_have_backup (fp)) in _IO_new_fclose()
72 _IO_free_backup_area (fp); in _IO_new_fclose()
74 _IO_deallocate_file (fp); in _IO_new_fclose()