By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,234 Members | 1,889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,234 IT Pros & Developers. It's quick & easy.

fstat

P: n/a
Hi,

I have an open file handle from which I would like to retrieve the file
descriptor for use with fstat. Is this possible or should I redesign my
algorithm a bit (I have the feeling I am overlooking something trivial
here)?

Thanks,

Martijn
http://www.sereneconcepts.nl
Nov 14 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Martijn <su*********************@hot-remove-mail.com> scribbled the following:
Hi, I have an open file handle from which I would like to retrieve the file
descriptor for use with fstat. Is this possible or should I redesign my
algorithm a bit (I have the feeling I am overlooking something trivial
here)?


The ISO C standard does not define file descriptors or fstat. Please ask
in comp.unix.programmer.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The obvious mathematical breakthrough would be development of an easy way to
factor large prime numbers."
- Bill Gates
Nov 14 '05 #2

P: n/a
>> I have an open file handle from which I would like to retrieve the
file descriptor for use with fstat. Is this possible or should I
redesign my algorithm a bit (I have the feeling I am overlooking
something trivial here)?


The ISO C standard does not define file descriptors or fstat. Please
ask
in comp.unix.programmer.


Sorry about that and thanks for the quick reply!

Martijn
Nov 14 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.