Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: fix some minor typos in the fs documentation
Browse files Browse the repository at this point in the history
* fchmodSync: replace 'path' with 'fd'
* lchmod: replace 'fd' with 'path'
* utimes, futimes, fsync: mark 'callback' as optional
  • Loading branch information
jhckragh authored and bnoordhuis committed Nov 4, 2011
1 parent 89014c9 commit c1472ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/fs.markdown
Expand Up @@ -117,11 +117,11 @@ Synchronous chmod(2).
Asynchronous fchmod(2). No arguments other than a possible exception
are given to the completion callback.

### fs.fchmodSync(path, mode)
### fs.fchmodSync(fd, mode)

Synchronous fchmod(2).

### fs.lchmod(fd, mode, [callback])
### fs.lchmod(path, mode, [callback])

Asynchronous lchmod(2). No arguments other than a possible exception
are given to the completion callback.
Expand Down Expand Up @@ -272,18 +272,18 @@ The file is created if it does not exist.

Synchronous open(2).

### fs.utimes(path, atime, mtime, callback)
### fs.utimes(path, atime, mtime, [callback])
### fs.utimesSync(path, atime, mtime)

Change file timestamps of the file referenced by the supplied path.

### fs.futimes(fd, atime, mtime, callback)
### fs.futimes(fd, atime, mtime, [callback])
### fs.futimesSync(fd, atime, mtime)

Change the file timestamps of a file referenced by the supplied file
descriptor.

### fs.fsync(fd, callback)
### fs.fsync(fd, [callback])

Asynchronous fsync(2). No arguments other than a possible exception are given
to the completion callback.
Expand Down

0 comments on commit c1472ac

Please sign in to comment.