@@ -1000,7 +1000,7 @@ deprecated: v0.4.7
10001000Asynchronous lchmod(2). No arguments other than a possible exception
10011001are given to the completion callback.
10021002
1003- Only available on Mac OS X .
1003+ Only available on macOS .
10041004
10051005## fs.lchmodSync(path, mode)
10061006<!-- YAML
@@ -1247,12 +1247,12 @@ The kernel ignores the position argument and always appends the data to
12471247the end of the file.
12481248
12491249_ Note: The behavior of ` fs.open() ` is platform specific for some flags. As such,
1250- opening a directory on OS X and Linux with the ` 'a+' ` flag - see example below -
1250+ opening a directory on macOS and Linux with the ` 'a+' ` flag - see example below -
12511251will return an error. In contrast, on Windows and FreeBSD, a file descriptor
12521252will be returned._
12531253
12541254``` js
1255- // OS X and Linux
1255+ // macOS and Linux
12561256fs .open (' <directory>' , ' a+' , (err , fd ) => {
12571257 // => [Error: EISDIR: illegal operation on a directory, open <directory>]
12581258});
@@ -1717,7 +1717,7 @@ Also note the listener callback is attached to the `'change'` event fired by
17171717The ` fs.watch ` API is not 100% consistent across platforms, and is
17181718unavailable in some situations.
17191719
1720- The recursive option is only supported on OS X and Windows.
1720+ The recursive option is only supported on macOS and Windows.
17211721
17221722#### Availability
17231723
@@ -1728,7 +1728,7 @@ to be notified of filesystem changes.
17281728
17291729* On Linux systems, this uses [ ` inotify ` ]
17301730* On BSD systems, this uses [ ` kqueue ` ]
1731- * On OS X , this uses [ ` kqueue ` ] for files and [ ` FSEvents ` ] for directories.
1731+ * On macOS , this uses [ ` kqueue ` ] for files and [ ` FSEvents ` ] for directories.
17321732* On SunOS systems (including Solaris and SmartOS), this uses [ ` event ports ` ] .
17331733* On Windows systems, this feature depends on [ ` ReadDirectoryChangesW ` ] .
17341734* On Aix systems, this feature depends on [ ` AHAFS ` ] , which must be enabled.
@@ -1746,7 +1746,7 @@ less reliable.
17461746
17471747<!-- type=misc-->
17481748
1749- On Linux and OS X systems, ` fs.watch() ` resolves the path to an [ inode] [ ] and
1749+ On Linux and macOS systems, ` fs.watch() ` resolves the path to an [ inode] [ ] and
17501750watches the inode. If the watched path is deleted and recreated, it is assigned
17511751a new inode. The watch will emit an event for the delete but will continue
17521752watching the * original* inode. Events for the new inode will not be emitted.
0 commit comments