User Tools

Site Tools


uphp:functions:fclose

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:fclose [2017/03/31 15:56]
jeff
uphp:functions:fclose [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"><html><span style="font-size:125%"></html>[[fclose]] +<well size="sm"><html> 
-<html>(+<span style="font-size:125%">fclose (
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$handle <span style="color:blue">$handle
Line 18: Line 18:
 ====Parameter==== ====Parameter====
  
-<html><span style="color:blue"><b>$handle</b><span style="color:black"></html>:  Valid handle of a previously opened resource+<html><b><span style="color:blue">$handle<span style="color:black"></b></html>:  Valid handle of a previously opened resource
  
-====Return Value====+====Return Values====
  
 None None
Line 41: Line 41:
  
 [[fopen()]] - Open a file for reading or writing [[fopen()]] - Open a file for reading or writing
- 
-[[f485open()]] - Open the RS-485 port at the specified baud rate and parity 
  
 [[fseropen()]] - Open the serial port at the specified baud rate with optional parameters [[fseropen()]] - Open the serial port at the specified baud rate with optional parameters
 +
 +[[f485open()]] - Open the RS-485 port at the specified baud rate and parity
  
 [[fsockopen()]] - Open an internet socket connection with optional timeout [[fsockopen()]] - Open an internet socket connection with optional timeout
  
-[[fread()]] - Return bytes from a file or stream+[[fread()]] - Read bytes from a file, stream or socket 
 + 
 +[[fgets()]] - Return a single line from a file, stream or socket, with optional size limit 
 + 
 +[[fwrite()]] - Write data to a file, stream or socket
  
-[[fgets()]] - Return a single line from a file or stream, with optional size limit+[[feof()]] - Test if no more data is available in a file, stream or socket
  
-[[fwrite()]] - Write data to a file or stream+[[filesize()]] - Return the size of a fileor the number of unread bytes in a stream or socket
  
 [[fseek()]] - Position the file pointer in an open file [[fseek()]] - Position the file pointer in an open file
uphp/functions/fclose.1490975804.txt.gz · Last modified: 2021/09/13 05:56 (external edit)