|
AquilaOS documentation
How it works, and its code
|
stat(): a vnode's attributes, in the structure user space gets. More...
Go to the source code of this file.
Functions | |
| int | vfs_stat (struct vnode *vnode, struct aquila_stat *buf) |
| Fills a stat structure with a vnode's attributes. | |
stat(): a vnode's attributes, in the structure user space gets.
Definition in file stat.c.
| int vfs_stat | ( | struct vnode * | vnode, |
| struct aquila_stat * | buf ) |
Fills a stat structure with a vnode's attributes.
| vnode | the vnode |
| buf | the structure to fill, in kernel memory |
Definition at line 16 of file stat.c.
References vnode::atime, vnode::ctime, vnode::dev, vnode::gid, vnode::ino, LOG_DEBUG, vnode::mode, vnode::mtime, vnode::nlink, vnode::rdev, vnode::size, timespec::tv_nsec, timespec::tv_sec, vnode::uid, and vfs_stat().
Referenced by do_fstatat(), sys_fstat(), and vfs_stat().