ArvernOS
Loading...
Searching...
No Matches
dev.h File Reference
#include <fs/vfs.h>
#include <stdbool.h>
#include <sys/types.h>
Include dependency graph for dev.h:

Functions

bool dev_fs_init ()
 
inode_t dev_fs_create (const char *name, vfs_driver_t *driver)
 

Function Documentation

◆ dev_fs_create()

inode_t dev_fs_create ( const char * name,
vfs_driver_t * driver )

Creates a new devfs character device.

Parameters
namethe name of the character device
driverthe driver of the character device
Returns
the inode of the pseudo-file

◆ dev_fs_init()

bool dev_fs_init ( )

Initializes the "dev" filesystem.