The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
procfs.h
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* @file procfs.h
5
* @brief a read-only view of kernel state, mounted at /proc.
6
*
7
* /proc/meminfo, /proc/uptime, /proc/<pid>/status and /proc/self (see
8
* procfs.c).
9
*/
10
11
#include "
common/error.h
"
12
#include "
kernel/fs/fs.h
"
13
14
/**
15
* set up procfs on a mount. hand it to vfs_mount afterwards.
16
* @param mount filesystem mount object to initialize.
17
* @return KERR_OK.
18
*/
19
kerr_t
procfs_mount
(
fs_mount_t
*mount);
error.h
kerr_t
kerr_t
unified kernel error codes.
Definition
error.h:14
fs_mount_t
struct fs_mount fs_mount_t
filesystem operations vtable.
Definition
ext2_ops.h:7
fs.h
procfs_mount
kerr_t procfs_mount(fs_mount_t *mount)
set up procfs on a mount.
Definition
procfs.c:568
src
kernel
fs
procfs.h
Generated by
1.18.0