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
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 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._
12531253
12541254``` js
12551255// macOS and Linux
Original file line number Diff line number Diff line change @@ -1637,12 +1637,12 @@ the current value of `ps`.
16371637
16381638* Note* : When a new value is assigned, different platforms will impose different
16391639maximum 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.
16461646
16471647## process.umask([ mask] )
16481648<!-- YAML
You can’t perform that action at this time.
0 commit comments