Creating a symlink
Prev | Chapter 2. Managing procfs entries | Next

## Creating a symlink

`struct proc_dir_entry* proc_symlink(` | const char* | name,
| struct proc_dir_entry* | parent,
| const char* | dest`)`;

This creates a symlink in the procfs directory `parent` that points from `name` to `dest`. This translates in userland to `ln -s` `dest` `name`.

Prev | Up | Next
Chapter 2. Managing procfs entries | Home | Creating a directory