DIR type

James Sewell james.sewell at tait.co.nz
Tue Jan 22 14:40:02 GMT 2002

Hey All,

I want to find out the char * name realated to a DIR object in the samba 
code (actually the one returned by a opendir).

Is there any way of doing this?? I know the DIR struct is meant to be 
opaque, but it must have some internals, or there must be some way of 
extracting info from it.
I looked into the dirfd() function, but it only returns a filehandle ID 
and I'm not sure how to get any usefull info out of it (is there 
something perform a lookup with this
ID in - maybe the conn struct?)

Cheers for ANY help,

More information about the samba-technical mailing list