]> Pileus Git - ~andy/linux/blob - include/linux/anon_inodes.h
kfifo: fix kfifo_alloc() to return a signed int value
[~andy/linux] / include / linux / anon_inodes.h
1 /*
2  *  include/linux/anon_inodes.h
3  *
4  *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
5  *
6  */
7
8 #ifndef _LINUX_ANON_INODES_H
9 #define _LINUX_ANON_INODES_H
10
11 struct file *anon_inode_getfile(const char *name,
12                                 const struct file_operations *fops,
13                                 void *priv, int flags);
14 int anon_inode_getfd(const char *name, const struct file_operations *fops,
15                      void *priv, int flags);
16
17 #endif /* _LINUX_ANON_INODES_H */
18