commit | 0506a36568ff0b4fd482513bc919d2031c35d04f | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Tue May 15 14:12:11 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Tue May 15 14:12:11 2012 -0700 |
tree | e028694f0ec2a7fa5edb682479deef89ada29bd1 | |
parent | 761b6499b9f9d333ef4860e95d1e2539c0326ec3 [diff] |
[klibc] Add fdopendir(), fix dirfd() Add fdopendir() by splitting opendir() into two components. Note that the fdopendir() implementation doesn't actually check the validity of the file descriptor; we just let readdir() return an error if someone passed us garbage. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>