Re: Stat in kernel space

From: Jan Engelhardt
Date: Mon Aug 07 2006 - 02:16:59 EST


>
> I wanted to know the file-size using stat.

inode->i_size

>
> On 8/6/06, Avinash Ramanath <avinashr@xxxxxxxxx> wrote:
>> Could somebody let me know which function equivalent/header file is
>> available in kernel space for "stat"ing?
>> I want an equivalent of stat/lstat/fstat in kernel space.
>>
>> Thanks,
>> Avinash.
>>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/