I can't find this anywhere: How can I open a file from a
C program and _then_ find out whether it's fixed-length
record or variable-length, or anything else about the
characteristics. The docs all tell me how to create a file
with these characteristics, but what if I don't know them in
advance? I know how to create a struct FAB and initialize
it, but how do I initialize it with the information from
pertaining to a given file? TIA!
C operations on opened files
I can't find this anywhere: How can I open a file from a
C program and _then_ find out whether it's fixed-length
record or variable-length, or anything else about the
characteristics. The docs all tell me how to create a file
with these characteristics, but what if I don't know them in
advance? I know how to create a struct FAB and initialize
it, but how do I initialize it with the information from
pertaining to a given file? TIA!