|
|
Subscribe / Log in / New account

C, Fortran, and single-character strings

C, Fortran, and single-character strings

Posted Jun 21, 2019 21:20 UTC (Fri) by pbonzini (subscriber, #60935)
In reply to: C, Fortran, and single-character strings by bokr
Parent article: C, Fortran, and single-character strings

No, because you don't have prototypes and when passing "a" the receiver could expect either a length-1 string or an unknown-length string. In the latter case the length would be needed, in the former it wouldn't.

Also it would be an ABI break.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds