[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-krn-devel
Subject:    Re: Problem: krn and solaris2.5.1
From:       Magnus Reftel <d96reftl () dtek ! chalmers ! se>
Date:       1997-10-13 14:54:52
[Download RAW message or body]

On Sun, 12 Oct 1997, Roberto Alsina wrote:
> On Sat, 11 Oct 1997, Detlef Liem wrote:
> > main.cpp uses the functions scandir and alphasort. These functions should
> > be available, since the system man pages are aware of scandir and
> > alphasort.
> > 
> > However neither in dirent.h, sys/types.h nor sys/dir.h I could find them.
> > nm /usr/lib/libc.a | grep scandir
> > produces no result, hence there is no scandir in libc.a
> > 
> > Is there any solution ?
> 
> I have heard that these functions are in the "ucb" include dir, etc.
> I will try to reimplement that using more standard functions.
> Sorry for the delay, but I was on a small vacation :-)

I haven't looked at the code for quite a while, so I don't know what this
code does, but one nice & portable way to deal with directories is using
QDir... =)

Regards
Magnus

/* Magnus Reftel
   d96reftl@dtek.chalmers.se*/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic