[J3] (SC22WG5.6327) Questions on F_C_STRING
Bader, Reinhold
Reinhold.Bader at lrz.de
Sat Jan 23 12:14:10 UTC 2021
Dear all,
F_C_STRING is a new ISO_C_BINDING module procedure in F2x that, after some inspection, seems to be of doubtful value, and
the current specification also has an issue.
First, does it really simply do what can also be (more clearly, to my mind) written as
X // C_NULL_CHAR
or
TRIM(X) // C_NULL_CHAR
or am I missing something here?
Second, it is unclear what happens if C_CHAR has the value -1. One could conceivably fall back to default character here, or some
words (similar as for C_F_STRPOINTER) need to be added to delete the function in that case.
Regards
Reinhold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210123/89a042c2/attachment.htm>
More information about the J3
mailing list