node/doc/api
Bruno Jouhier b3aa876f08 fs: properly handle fd passed to truncate()
Currently, fs.truncate() silently fails when a file descriptor
is passed as the first argument. This commit changes this
behavior to properly call fs.ftruncate().

PR-URL: https://github.com/joyent/node/pull/9161
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
2015-02-17 12:09:20 -05:00
..
_toc.markdown doc: document the tracing api 2014-02-05 11:49:02 -08:00
addons.markdown node: add signature to SET_PROTOTYPE_METHOD 2014-04-02 01:48:34 -07:00
all.markdown src: remove Async Listener 2014-12-05 04:33:26 -08:00
assert.markdown doc: use correct signature for assert() 2015-01-20 10:51:00 -05:00
buffer.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
child_process.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
cluster.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
console.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
crypto.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
debugger.markdown doc: Fix missing backtick in debugger doc 2013-12-30 11:44:13 -08:00
dgram.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
dns.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
documentation.markdown doc: modify documentation style about 'Stability: 5' 2013-01-17 13:51:21 +01:00
domain.markdown domains: deprecate domain.dispose(). 2013-08-27 11:05:14 -07:00
events.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
fs.markdown fs: properly handle fd passed to truncate() 2015-02-17 12:09:20 -05:00
globals.markdown doc: improve module documentation 2013-10-27 11:47:11 +01:00
http.markdown http: rename flush to flushHeaders 2015-01-16 13:42:43 -08:00
https.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
index.markdown Remove util.print from docs 2010-11-07 17:22:56 -08:00
modules.markdown doc: note ability to require files within packages 2014-11-09 21:46:35 -08:00
net.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
os.markdown Merge remote-tracking branch 'upstream/v0.10' 2013-10-25 11:26:05 -07:00
path.markdown path: added parse() and format() functions 2014-11-20 16:21:11 -08:00
process.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
punycode.markdown doc: improve punycode.js documentation 2013-06-20 13:25:10 +02:00
querystring.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
readline.markdown doc: improve readLine.pause() 2014-10-06 19:24:29 -05:00
repl.markdown repl: REPLServer inherits from readline.Interface 2014-02-17 16:04:36 -08:00
smalloc.markdown doc: grammar fix in smalloc 2015-02-11 14:48:17 -07:00
stream.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
string_decoder.markdown string_decoder: Add 'end' method, do base64 properly 2012-10-11 16:46:18 -07:00
synopsis.markdown doc refactor: synopsis 2012-02-29 16:04:54 -08:00
timers.markdown doc: fix grammar in tls and timers 2014-12-05 14:12:48 -08:00
tls.markdown Merge remote-tracking branch 'upstream/v0.10' into merge-0-10-into-0-12 2015-01-12 15:59:37 -08:00
tty.markdown doc: fix formatting in tty.markdown 2013-03-26 16:09:51 +01:00
url.markdown Revert "url: support path for url.format" 2015-01-29 12:07:16 -08:00
util.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00
vm.markdown doc: fix optional parameter parsing 2014-09-29 16:32:34 -07:00
zlib.markdown doc: fix brackets for optional parameters 2014-09-25 11:26:15 -07:00