Curtis L. Olson writes:
> 
> Honest, I'm not writing a windows virus here. :-)
> 
> I am working on an fltk app to make it easier to install / uninstall 10x10 
> .tar.gz scenery chunks.  I have the install part mostly working (via libtar 
> / libz) so now I am looking at uninstalling.
> 
> For unix I can do a depth first traversal of the "subfolder" calling 
> unlink() and rmdir() to remove everything.  Are these calls also available 
> for windows?  If not, what is the recommended way to do this?

WIndows versions have a leading underscore

_unlink( const char * )
_rmdir( const char * )

This is typical of POSIX calls on WIndows

BTW this usually works well for this kind of thing 
google( SEARCH_STRING site:msdn.microsoft.com )

HTH

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to