octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File descriptor indeed not always available? (was: Re: How do I pass


From: John W. Eaton
Subject: Re: File descriptor indeed not always available? (was: Re: How do I pass a file pointer to my octfile?)
Date: Thu, 23 Sep 2010 19:09:57 -0400

On 24-Sep-2010, Olaf Till wrote:

| Yes. But since Octave already uses a FILE pointer, you have two FILE
| pointers for the same file descriptor then ...

I don't think that matters much.  The OP asked how to convert a file
ID from the scriping language to a C FILE pointer.  Using fdopen
should work as long as we are sure that file ID in the scripting
language corresponds directly to a system file descriptor.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]