File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1374,9 +1374,9 @@ 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 macOS and Linux with the ` 'a+' ` flag - see example below -
1378
- will return an error. In contrast, on Windows and FreeBSD, a file descriptor
1379
- will be returned._
1377
+ opening a directory on macOS and Linux with the ` 'a+' ` flag - see example
1378
+ below - will return an error. In contrast, on Windows and FreeBSD, a file
1379
+ descriptor will be returned._
1380
1380
1381
1381
``` js
1382
1382
// macOS and Linux
Original file line number Diff line number Diff line change @@ -1631,12 +1631,12 @@ the current value of `ps`.
1631
1631
1632
1632
* Note* : When a new value is assigned, different platforms will impose different
1633
1633
maximum length restrictions on the title. Usually such restrictions are quite
1634
- limited. For instance, on Linux and macOS, ` process.title ` is limited to the size
1635
- of the binary name plus the length of the command line arguments because setting
1636
- the ` process.title ` overwrites the ` argv ` memory of the process. Node.js v0.8
1637
- allowed for longer process title strings by also overwriting the ` environ `
1638
- memory but that was potentially insecure and confusing in some (rather obscure)
1639
- cases.
1634
+ limited. For instance, on Linux and macOS, ` process.title ` is limited to the
1635
+ size of the binary name plus the length of the command line arguments because
1636
+ setting the ` process.title ` overwrites the ` argv ` memory of the process.
1637
+ Node.js v0.8 allowed for longer process title strings by also overwriting the
1638
+ ` environ ` memory but that was potentially insecure and confusing in some
1639
+ (rather obscure) cases.
1640
1640
1641
1641
## process.umask([ mask] )
1642
1642
<!-- YAML
You can’t perform that action at this time.
0 commit comments