* Stat in kernel space
@ 2006-08-07 0:46 Avinash Ramanath
2006-08-07 1:20 ` Avinash Ramanath
0 siblings, 1 reply; 3+ messages in thread
From: Avinash Ramanath @ 2006-08-07 0:46 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Stat in kernel space
2006-08-07 0:46 Stat in kernel space Avinash Ramanath
@ 2006-08-07 1:20 ` Avinash Ramanath
2006-08-07 6:17 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: Avinash Ramanath @ 2006-08-07 1:20 UTC (permalink / raw)
To: linux-kernel, kernelnewbies
I wanted to know the file-size using stat.
On 8/6/06, Avinash Ramanath <avinashr@gmail.com> 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.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Stat in kernel space
2006-08-07 1:20 ` Avinash Ramanath
@ 2006-08-07 6:17 ` Jan Engelhardt
0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2006-08-07 6:17 UTC (permalink / raw)
To: Avinash Ramanath; +Cc: linux-kernel, kernelnewbies
>
> I wanted to know the file-size using stat.
inode->i_size
>
> On 8/6/06, Avinash Ramanath <avinashr@gmail.com> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-07 6:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-07 0:46 Stat in kernel space Avinash Ramanath
2006-08-07 1:20 ` Avinash Ramanath
2006-08-07 6:17 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®