Name

devfs_mk_dir — Create a directory in the devfs namespace.

Synopsis

int devfs_mk_dir (const char * fmt, ...);

Arguments

fmt

The name of the entry.

...

variable arguments

Description

Use of this function is optional. The devfs_register function will automatically create intermediate directories as needed. This function is provided for efficiency reasons, as it provides a handle to a directory. On failure NULL is returned.

Description

Use of this function is optional. The devfs_register function will automatically create intermediate directories as needed. This function is provided for efficiency reasons, as it provides a handle to a directory. On failure NULL is returned.