DragonFly-2.3.2.177.g7385a master include dirent.h lib/libc/gen opendir.c

Nicolas Thery nth at crater.dragonflybsd.org
Sun Jul 26 08:50:42 PDT 2009


commit 7385abbc8717da729dccdfd2852be88ce75579e7
Author: Nicolas Thery <nthery at gmail.com>
Date:   Sun Jul 26 07:45:47 2009 +0200

    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().

Summary of changes:
 include/dirent.h       |    2 +
 lib/libc/gen/opendir.c |   55 +++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 50 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7385abbc8717da729dccdfd2852be88ce75579e7


-- 
DragonFly BSD source repository





More information about the Commits mailing list