I wanted to know truncate() equivalent function for Linux Kernel Module. I want to selectively truncate data in a file in kernel module starting from an index and ending at another index. All suggestions are welcome.
Thanks.
I wanted to know truncate() equivalent function for Linux Kernel Module. I want to selectively truncate data in a file in kernel module starting from an index and ending at another index. All suggestions are welcome.
Thanks.