Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

definitions again (Developers)

posted by kerravon, Ligao, Free World North, 20.04.2024, 03:09

> > I haven't yet resolved what to do about those
> > situations where you want more than C90, ie
> > directory scanning. MSDOS gets a DTA and then
> > you use findfirst and findnext INT 21H calls
> > (4E and 4F). Win32 doesn't use a DTA. POSIX
> > has another way (opendir). Linux has another
> > way (getdents). I'm interested in FAT, not
> > Linux filesystems, so I'm not sure which to
> > go with (possibly none of them). OS/2 is another
> > one that could provide inspiration. UEFI too.
>
> While I understand the reason why ANSI C does not have any sort of
> directory handling defined for its standard library, I agree that this is a
> REAL pitty. This prevents me from doing proper directory-relative file
> inclusion in my 6502 assembler (for this project I restrict myself strictly
> to the ANSI C standard lib).

Can you expand on this a little?

If you were on the ANSI committee back in 1989, or even
today, would you have changed that?

Or added it as a separate extension, perhaps the same
as ANSI X3.64?

And if the answer to either of those is "yes", then would
you have anything specific in mind?

Or would you be hoping that another member of the committee
would have a good design?

Thanks. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 135 users online (0 registered, 135 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum