On 7/2/05, Big Playah <big...@gm...> wrote:
> Hi,
>=20
> I have some problems while writing my own fileselect dialogue (for
> textmode, so windows fileselect dialogue is not good for me)
> I haven't found any useful functions to decide if a string points to a
> valid (existing) directory or not
> I've found stat() but it raised segfault problems (even with valid
> directory names, inside stat () function)
> are there any other functions to examine my string before calling opendir=
() ?
>=20
> tia,
>=20
> tom
>=20
> --
> Coupe Quattro '89
> Typ81 custom '84
>=20
Why not just call opendir() and check for a null pointer after calling it?
--=20
Josh
"Peace cannot be kept by force. It can only be achieved by understanding."
-Albert Einstein
|