patch-2.1.89 linux/include/linux/file.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/etherdevice.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Feb 23 12:55:58 1998
- Orig file:
v2.1.88/linux/include/linux/file.h
- Orig date:
Mon Feb 23 18:12:11 1998
diff -u --recursive --new-file v2.1.88/linux/include/linux/file.h linux/include/linux/file.h
@@ -47,4 +47,12 @@
}
}
+/*
+ * Install a file pointer in the files structure.
+ */
+extern inline void fd_install(unsigned long fd, struct file *file)
+{
+ current->files->fd[fd] = file;
+}
+
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov