@@ -1099,7 +1099,7 @@ changes:
1099
1099
Asynchronous lchmod(2). No arguments other than a possible exception
1100
1100
are given to the completion callback.
1101
1101
1102
- Only available on Mac OS X .
1102
+ Only available on macOS .
1103
1103
1104
1104
## fs.lchmodSync(path, mode)
1105
1105
<!-- YAML
@@ -1374,12 +1374,12 @@ The kernel ignores the position argument and always appends the data to
1374
1374
the end of the file.
1375
1375
1376
1376
_ Note: The behavior of ` fs.open() ` is platform specific for some flags. As such,
1377
- opening a directory on OS X and Linux with the ` 'a+' ` flag - see example below -
1377
+ opening a directory on macOS and Linux with the ` 'a+' ` flag - see example below -
1378
1378
will return an error. In contrast, on Windows and FreeBSD, a file descriptor
1379
1379
will be returned._
1380
1380
1381
1381
``` js
1382
- // OS X and Linux
1382
+ // macOS and Linux
1383
1383
fs .open (' <directory>' , ' a+' , (err , fd ) => {
1384
1384
// => [Error: EISDIR: illegal operation on a directory, open <directory>]
1385
1385
});
@@ -1943,7 +1943,7 @@ Also note the listener callback is attached to the `'change'` event fired by
1943
1943
The ` fs.watch ` API is not 100% consistent across platforms, and is
1944
1944
unavailable in some situations.
1945
1945
1946
- The recursive option is only supported on OS X and Windows.
1946
+ The recursive option is only supported on macOS and Windows.
1947
1947
1948
1948
#### Availability
1949
1949
@@ -1954,7 +1954,7 @@ to be notified of filesystem changes.
1954
1954
1955
1955
* On Linux systems, this uses [ ` inotify ` ]
1956
1956
* On BSD systems, this uses [ ` kqueue ` ]
1957
- * On OS X , this uses [ ` kqueue ` ] for files and [ ` FSEvents ` ] for directories.
1957
+ * On macOS , this uses [ ` kqueue ` ] for files and [ ` FSEvents ` ] for directories.
1958
1958
* On SunOS systems (including Solaris and SmartOS), this uses [ ` event ports ` ] .
1959
1959
* On Windows systems, this feature depends on [ ` ReadDirectoryChangesW ` ] .
1960
1960
* On Aix systems, this feature depends on [ ` AHAFS ` ] , which must be enabled.
@@ -1972,7 +1972,7 @@ less reliable.
1972
1972
1973
1973
<!-- type=misc-->
1974
1974
1975
- On Linux and OS X systems, ` fs.watch() ` resolves the path to an [ inode] [ ] and
1975
+ On Linux and macOS systems, ` fs.watch() ` resolves the path to an [ inode] [ ] and
1976
1976
watches the inode. If the watched path is deleted and recreated, it is assigned
1977
1977
a new inode. The watch will emit an event for the delete but will continue
1978
1978
watching the * original* inode. Events for the new inode will not be emitted.
@@ -1982,7 +1982,7 @@ In AIX, save and close of a file being watched causes two notifications -
1982
1982
one for adding new content, and one for truncation. Moreover, save and
1983
1983
close operations on some platforms cause inode changes that force watch
1984
1984
operations to become invalid and ineffective. AIX retains inode for the
1985
- lifetime of a file, that way though this is different from Linux / OS X ,
1985
+ lifetime of a file, that way though this is different from Linux / macOS ,
1986
1986
this improves the usability of file watching. This is expected behavior.
1987
1987
1988
1988
#### Filename Argument
0 commit comments