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 @@ -1374,9 +1374,9 @@ The kernel ignores the position argument and always appends the data to
13741374the end of the file.
13751375
13761376_ 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._
13801380
13811381``` js
13821382// macOS and Linux
Original file line number Diff line number Diff line change @@ -1631,12 +1631,12 @@ the current value of `ps`.
16311631
16321632* Note* : When a new value is assigned, different platforms will impose different
16331633maximum 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.
16401640
16411641## process.umask([ mask] )
16421642<!-- YAML
You can’t perform that action at this time.
0 commit comments