生活隨筆

2018年7月11日 星期三

[工作] 從file_operation的read/write函式, 從struct file裡面讀到檔名

ex. ssize_t led_write(struct file *filp, const char __user *buff,
                        size_t size, loff_t *ppos)


檔名: filp->f_path.dentry->d_iname
張貼者: Richard 於 晚上7:37 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: work
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

關於我自己

Richard
檢視我的完整簡介

網誌存檔

  • ►  2023 (2)
    • ►  1月 (2)
  • ►  2022 (3)
    • ►  12月 (1)
    • ►  10月 (1)
    • ►  7月 (1)
  • ►  2021 (2)
    • ►  1月 (2)
  • ►  2019 (28)
    • ►  12月 (4)
    • ►  11月 (2)
    • ►  10月 (5)
    • ►  8月 (5)
    • ►  7月 (2)
    • ►  6月 (3)
    • ►  4月 (1)
    • ►  3月 (3)
    • ►  2月 (3)
  • ▼  2018 (12)
    • ▼  7月 (1)
      • [工作] 從file_operation的read/write函式, 從struct file裡面讀到檔名
    • ►  6月 (4)
    • ►  5月 (3)
    • ►  2月 (1)
    • ►  1月 (3)
  • ►  2017 (19)
    • ►  12月 (2)
    • ►  11月 (1)
    • ►  10月 (1)
    • ►  7月 (5)
    • ►  6月 (4)
    • ►  5月 (2)
    • ►  3月 (2)
    • ►  2月 (1)
    • ►  1月 (1)
  • ►  2016 (4)
    • ►  10月 (2)
    • ►  8月 (2)
輕柔雅緻主題. 技術提供:Blogger.