From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750871AbWHGBUt (ORCPT ); Sun, 6 Aug 2006 21:20:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750872AbWHGBUt (ORCPT ); Sun, 6 Aug 2006 21:20:49 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:12646 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1750867AbWHGBUs (ORCPT ); Sun, 6 Aug 2006 21:20:48 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UuHSAuVDE+yU/TN6aoAta/7XQ4bAE0iZbZWD+eFn7dZ/CM775WoXGLrZnzNmhDcnxSKmi6YT0tf0H4/nHD8+0C8twlb4R3ed3emtwft1FLzakCYCJac3k0pb1K+PU4N4RyUsniCWHOx/J7lPKFpMvtFPthtMAsmHOwu108bM6OE= Message-ID: Date: Sun, 6 Aug 2006 18:20:47 -0700 From: "Avinash Ramanath" To: linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org Subject: Re: Stat in kernel space In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I wanted to know the file-size using stat. On 8/6/06, Avinash Ramanath 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. >