Messages in this thread | | | Date | Fri, 20 Nov 2009 14:33:48 +0800 | From | "Helight.Xu" <> | Subject | 如何通过fd找到打开文件的路径 及名称 |
| |
在用户程序中打开文件进行编辑,那在内核中如何能通过open后的fd 来找到相应打开文件的路径及其名字呢?
-- --------------------------------- Zhenwen Xu - Open and Free Home Page: http://zhwen.org
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |