Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc some file opcodes
  • Loading branch information
coke committed Oct 3, 2013
1 parent 2b99f92 commit 65cb592
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/ops.markdown
Expand Up @@ -497,6 +497,32 @@ Return current access position for an open handle.

Output the given object to the filehandle.

# File / Network Opcodes

##fileexecutable
* `fileexecutable(str $str)`

If the specified filename refers to an executable file, returns 1.
If not, returns 0. If an error occurs, return -1.

##filereadable
* `filereadable(str $str)`

If the specified filename refers to a readable file, returns 1.
If not, returns 0. If an error occurs, return -1.

##filewritable
* `filewritable(str $str)`

If the specified filename refers to a writable file, returns 1.
If not, returns 0. If an error occurs, return -1.

##isfilelink
* `isfilelink(str $str)`

If the specified filename refers to a symbolic link, returns 1.
If not, returns 0. If an error occurs, return -1.

# Type/Conversion Opcodes

##box
Expand Down

0 comments on commit 65cb592

Please sign in to comment.