documentation - How to read Node.js API docs? What does e.g. "stat(2)" mean? -
for example, let's consider file system module , fs.stat(path, callback) method. here description:
fs.stat(path, callback)
asynchronous stat(2). callback gets 2 arguments (err, stats) stats fs.stats object. see fs.stats section below more information.
what stat(2)
mean? not link, doesn't follow anywhere, string. how understand it? api documentation has gazillion of such references, mean?
stat(2)
reference stat()
function in specific posix revision level (which believe posix.1-2001 , referred susv3). see man page stat(2)
here.
the node.js documentation pretty assumes familiar parts of posix library , not offer helpful references not familiar (which unfortunate in opinion).
Comments
Post a Comment