File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1247,9 +1247,9 @@ The kernel ignores the position argument and always appends the data to
1247
1247
the end of the file.
1248
1248
1249
1249
_ Note: The behavior of ` fs.open() ` is platform specific for some flags. As such,
1250
- opening a directory on macOS and Linux with the ` 'a+' ` flag - see example below -
1251
- will return an error. In contrast, on Windows and FreeBSD, a file descriptor
1252
- will be returned._
1250
+ opening a directory on macOS and Linux with the ` 'a+' ` flag - see example
1251
+ below - will return an error. In contrast, on Windows and FreeBSD, a file
1252
+ descriptor will be returned._
1253
1253
1254
1254
``` js
1255
1255
// macOS and Linux
Original file line number Diff line number Diff line change @@ -1637,12 +1637,12 @@ the current value of `ps`.
1637
1637
1638
1638
* Note* : When a new value is assigned, different platforms will impose different
1639
1639
maximum length restrictions on the title. Usually such restrictions are quite
1640
- limited. For instance, on Linux and macOS, ` process.title ` is limited to the size
1641
- of the binary name plus the length of the command line arguments because setting
1642
- the ` process.title ` overwrites the ` argv ` memory of the process. Node.js v0.8
1643
- allowed for longer process title strings by also overwriting the ` environ `
1644
- memory but that was potentially insecure and confusing in some (rather obscure)
1645
- cases.
1640
+ limited. For instance, on Linux and macOS, ` process.title ` is limited to the
1641
+ size of the binary name plus the length of the command line arguments because
1642
+ setting the ` process.title ` overwrites the ` argv ` memory of the process.
1643
+ Node.js v0.8 allowed for longer process title strings by also overwriting the
1644
+ ` environ ` memory but that was potentially insecure and confusing in some
1645
+ (rather obscure) cases.
1646
1646
1647
1647
## process.umask([ mask] )
1648
1648
<!-- YAML
You can’t perform that action at this time.
0 commit comments