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 boeckmann, Aachen, Germany, 14.04.2024, 16:12

> 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).

 

Complete thread:

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