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/05 14:12]
jeff
uphp:functions:fseek [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"><html><span style="font-size:125%"></html>[[fseek]] +<well size="sm"><html> 
-<html>(+<span style="font-size:125%">fseek (
 <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 29: 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 Values==== ====Return Values====
uphp/functions/fseek.1491401527.txt.gz · Last modified: 2021/09/13 05:56 (external edit)