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 tom Homepage, Germany (West), 21.04.2024, 11:27

>
> #include <dos.h>
>
> and functions _dos_findfirst() and _dos_findnext().


IMO


#include <io.h>
_WCRTLINK extern long _findfirst( const char *__filespec,
                                  struct _finddata_t *__fileinfo );
_WCRTLINK extern int  _findnext( long __handle,
                                 struct _finddata_t *__fileinfo );


should be your choice; _dos_something() is not proper for your holy grail of portability.

 

Complete thread:

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