Query: fclose
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FCLOSE(3) 1 FCLOSE(3) fclose - Closes an open file pointerSYNOPSISbool fclose (resource $handle)DESCRIPTIONThe file pointed to by $handle is closed.PARAMETERSo $handle - The file pointer must be valid, and must point to a file successfully opened by fopen(3) or fsockopen(3).RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 A simple fclose(3) example <?php $handle = fopen('somefile.txt', 'r'); fclose($handle); ?>SEE ALSOfopen(3), fsockopen(3). PHP Documentation Group FCLOSE(3)
Related Man Pages |
---|
fclose(3) - linux |
fclose(3) - netbsd |
fcloseall(3) - freebsd |
fread(3) - php |
rewind(3) - php |
Similar Topics in the Unix Linux Community |
---|
getline() and fclose() |