getcwd: return the length of the string instead of just 0
authorRonald G. Minnich <rminnich@google.com>
Wed, 16 Jul 2014 00:13:35 +0000 (17:13 -0700)
committerRonald G. Minnich <rminnich@google.com>
Wed, 16 Jul 2014 00:13:35 +0000 (17:13 -0700)
commit2413dce4750b6db428b1d8d726eeb534ad23fe58
tree4afa7a9760c418f9533d48b28be05d046c51c31e
parent0dedc40b64d1217422b8c01fb73523e8afd64d95
getcwd: return the length of the string instead of just 0

Useful for Go.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/src/syscall.c