hi jhon, If I use use opendir/readdir I am getting the default directories . and .. into the directoy handle.
Is there any way tha i could eliminate this. For example if i want to copy all contentents of the directory(including sub directories) I open a directory Handle using opendir and read it usign readdir, Now my dirhandle contains default directories . and .. which i cannot copy. Is there any way that i can elimate the default directories . and .. while reading the direcotry from a directory handle. Thanks Siva