[Scilab-Dev] Fortran / C files
Serge Steer
Serge.Steer at scilab.org
Fri Jan 9 15:59:26 CET 2009
Collette Yann a écrit :
> Hello,
>
> I am currently looking at the 'write' function. I would like to
> rewrite it in C/C++.
> I've got a question: How do I translate a fortran file descriptor
> (unit ...) into a C file descriptor.
>
> YC
>
This what is done by f2c using a specific library. I do not know if this
library is portable or not.
The unit is not the only problem there is also format, Input/output line
handling, binary and direct access...
The reason for translating such kind of code to C is not clear for me...
Serge Steer
More information about the dev
mailing list