[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please tell me where can I find the source code for function 'stat(c
From: |
Eric Blake |
Subject: |
Re: please tell me where can I find the source code for function 'stat(char *, struct stat *)' |
Date: |
Sat, 12 Jul 2008 05:46:01 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to shuaijie wang on 6/25/2008 10:26 PM:
[Sorry for a delayed response, but as no one else seems to have replied...]
| I linux system, there is a system funtion 'stat(char *, struct stat *)', I
| want to read the source code of this function, but while I assume that this
| function may exist in the file
| /usr/src/linux-2.4/fs/stat.c, it actually doesn't. In file stat.c, I can't
| find the funtion of 'stat()', so please tell me where I can find this
| funtion in linux src? thank you
Unfortunately, you reached the coreutils list. We maintain the code for
the program stat(1) (which calls the function stat(2) under the hood), but
we do not maintain stat(2) (that is the job of each different OS). Since
you are asking about stat(2), you are better off asking on a list
dedicated to the Linux kernel.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkh4mXkACgkQ84KuGfSFAYDqxwCfdH+nLTFfXLjZP8NXB3dhEVId
isgAnA3uzW0fKWngA0wC9+nT2wVFZXt3
=ujkR
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: please tell me where can I find the source code for function 'stat(char *, struct stat *)',
Eric Blake <=