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
22749 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum