Directory Linux

Implements Directory.

Summary

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2011 Jörg Seebohn

Files

C-kern/api/io/filesystem/directory.h

Header file Directory.

C-kern/platform/Linux/io/directory.c

Linux specific implementation Directory Linux.

directory_t

struct directory_t

Alias for POSIX specific DIR structure.

static variables

s_directory_errtimer

static test_errortimer_t s_directory_errtimer

Simulates an error in path_directory.

helper

query

lifetime

read

write

test

Access directory content.
Implements Directory.
struct directory_t
Alias for POSIX specific DIR structure.
static test_errortimer_t s_directory_errtimer
Simulates an error in path_directory.
int path_directory(const directory_t *dir,
/*ret*/struct wbuffer_t *path)
Returns absolute real path of directory dir in path.
Close