User Tools

Site Tools


uphp:functions:chdir

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:chdir [2017/05/08 14:18]
jeff
uphp:functions:chdir [2021/09/13 05:57] (current)
Line 3: Line 3:
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Change current directory+Change the current directory
  
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
 <span style="color:black">chdir ( <span style="color:black">chdir (
Line 14: Line 13:
 <span style="color:blue">$directory <span style="color:blue">$directory
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 ====Parameter==== ====Parameter====
Line 21: Line 19:
 <html><b><span style="color:blue">$directory<span style="color:black"></b></html>:  The new current directory <html><b><span style="color:blue">$directory<span style="color:black"></b></html>:  The new current directory
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0 on success or -1 on failure <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0 on success or -1 on failure
Line 39: Line 37:
 [[getcwd()]] - Get the current directory [[getcwd()]] - Get the current directory
  
-[[mkdir()]] - Create a directory as specified by pathname+[[mkdir()]] - Make a directory
  
-[[rmdir()]] - Remove a directory+[[rmdir()]] - Remove a directory, with optional deletion of contents
  
uphp/functions/chdir.1494253127.txt.gz · Last modified: 2021/09/13 05:56 (external edit)