Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document nqp::lstat
  • Loading branch information
lizmat committed Feb 13, 2015
1 parent f7586fc commit 71e9494
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/ops.markdown
Expand Up @@ -1110,9 +1110,9 @@ directory didn't exist. May throw an exception.
## stat
* `stat(str $path, int $code)`

Given a path and a code, return an int describing that path. Any of
these variants may throw an exception if the platform does not support
them. (JVM does not support `STAT_PLATFORM_BLOCKSIZE` or
Given a path and a code, return an int describing that path using the OS's
stat() function. Any of these variants may throw an exception if the platform
does not support them. (JVM does not support `STAT_PLATFORM_BLOCKSIZE` or
`STAT_PLATFORM_BLOCKS`).

* `nqp::const::STAT_EXISTS`
Expand Down Expand Up @@ -1190,6 +1190,12 @@ Returns preferred I/O size in bytes for interacting with the file.

Returns number of system-specific blocks allocated on disk.

## lstat
* `lstat(str $path, int $code)`

Same as stat, but internally uses the OS's lstat() function, which does *not*
follow symlinks.

## symlink
* `symlink(str $before, str $after)`

Expand Down

0 comments on commit 71e9494

Please sign in to comment.