www.digitalmars.com         C & C++   DMDScript  

c++.dos - Missing functions

reply "Gisle Vanem" <giva bgnett.no> writes:
The <sys/dirent.h> functions opendir(), readdir() and closedir() are not part
of any sd?.lib.
They are not ifdef'ed in <sys/dirent.h>, so I assume they should be present.
Did someone
forget to include them?

Gisle V.
Jul 17 2002
parent reply "Walter" <walter digitalmars.com> writes:
"Gisle Vanem" <giva bgnett.no> wrote in message
news:ah3dkq$o0f$1 digitaldaemon.com...
 The <sys/dirent.h> functions opendir(), readdir() and closedir() are not
part of any sd?.lib.
 They are not ifdef'ed in <sys/dirent.h>, so I assume they should be
present. Did someone
 forget to include them?
They were for the (once upon a time) SCO unix version, and were never implemented for DOS. The findfirst/findnext functions should deliver all the functionality needed, however.
Jul 17 2002
parent reply Cesar Rabak <csrabak uol.com.br> writes:
Walter wrote:
 
 "Gisle Vanem" <giva bgnett.no> wrote in message
 news:ah3dkq$o0f$1 digitaldaemon.com...
 The <sys/dirent.h> functions opendir(), readdir() and closedir() are not
part of any sd?.lib.
 They are not ifdef'ed in <sys/dirent.h>, so I assume they should be
present. Did someone
 forget to include them?
They were for the (once upon a time) SCO unix version, and were never implemented for DOS. The findfirst/findnext functions should deliver all the functionality needed, however.
Walter, Does this means it is possible to port the DM C/C++ compiler to unixy OSs? I'm just wondering if a Linux port could be added!! -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
Jul 18 2002
parent reply "Walter" <walter digitalmars.com> writes:
"Cesar Rabak" <csrabak uol.com.br> wrote in message
news:3D376A89.A302944A uol.com.br...
 Walter,

 Does this means it is possible to port the DM C/C++ compiler to unixy
 OSs? I'm just wondering if a Linux port could be added!!
Yes, it is very possible, but there weren't enough people interested in it to make the project worthwhile.
Jul 18 2002
parent "Matthew Wilson" <matthew thedjournal.com> writes:
I'd be very interested in a Linux port

"Walter" <walter digitalmars.com> wrote in message
news:ah89qr$1dvn$1 digitaldaemon.com...
 "Cesar Rabak" <csrabak uol.com.br> wrote in message
 news:3D376A89.A302944A uol.com.br...
 Walter,

 Does this means it is possible to port the DM C/C++ compiler to unixy
 OSs? I'm just wondering if a Linux port could be added!!
Yes, it is very possible, but there weren't enough people interested in it to make the project worthwhile.
Jul 23 2002