#include #include int fs·openfd(int fd, fs·Directory *dir) { mem·set(dir, 0, sizeof(*dir)); dir->fd = fd; return 0; }