blob: b615db93ab8c0a4ae9f205f6b34bfef262bd2291 (
plain)
1
2
3
4
5
6
|
/* Create a new regular file with the given CONTENTS. If LEN is negative,
CONTENTS is considered as a string and the file stops at the first
nul char. If CLEANUP is non-NULL, it is passed CONTENTS when the
node is destroyed. */
struct node *
procfs_file_make_node (void *contents, ssize_t len, void (*cleanup)(void *));
|