User Tools

Site Tools


uphp:functions:fseek

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:fseek [2017/04/06 12:02]
jeff
uphp:functions:fseek [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html> 
-<html> +<span style="font-size:125%">fseek (
-<span style="font-size:125%"> +
-</html> +
-[[fseek]] ( +
-<html>+
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$handle<span style="color:black">, <span style="color:blue">$handle<span style="color:black">,
Line 20: Line 16:
 <span style="color:blue">$whence <span style="color:blue">$whence
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 This function will relocate the file pointer within an active file.  Three different start position options are available. This function will relocate the file pointer within an active file.  Three different start position options are available.
Line 34: Line 29:
  
   * **0** - Seek from the **start of the file**   * **0** - Seek from the **start of the file**
-  * **1** - Seek from the **current position** (a positive <html><b><span style="color:blue">$offset<span style="color:black"></b></html> will move forward, and a negative <html><b><span style="color:blue">$offset<span style="color:black"></b></html> will move in reverse+  * **1** - Seek from the **current position** (<html>a positive <b><span style="color:blue">offset<span style="color:black"></b> will move forward, and a negative <b><span style="color:blue">offset<span style="color:black"></b> will move in reverse</html>
-  * **2** - Seek from the **end of the file** (in reverse)((When using <html><b><span style="color:blue">$whence<span style="color:black">=2</b></html> to seek from the end of the file a positive <html><b><span style="color:blue">$offset<span style="color:black"></b></html> is used to move in reverse.))+  * **2** - Seek from the **end of the file** (in reverse)((<html>When using <b><span style="color:blue">whence<span style="color:black"></b>=2 to seek from the end of the file a positive <b><span style="color:blue">offset<span style="color:black"></b> is used to move in reverse.</html>))
  
-====Return Value====+====Return Values====
  
 None None
uphp/functions/fseek.1491480128.txt.gz · Last modified: 2021/09/13 05:56 (external edit)