add fdopendir(3) implementation (1/?)
authorNicolas Thery <nthery@gmail.com>
Sun, 26 Jul 2009 05:45:47 +0000 (07:45 +0200)
committerNicolas Thery <nthery@gmail.com>
Sun, 26 Jul 2009 06:37:44 +0000 (08:37 +0200)
commit7385abbc8717da729dccdfd2852be88ce75579e7
tree45bd6144be2daf935e72dda4670dde4dd42d85be
parent6cda8f056e3fe8f63e6b0d2a4437c9c7d26d773a
add fdopendir(3) implementation (1/?)

POSIX states that the file offset of the passed descriptor determines the
directory entry read but this commit supports only descriptors with null
offsets.

Also add __fdopendir2() for symmetry with opendir/__opendir2().
include/dirent.h
lib/libc/gen/opendir.c