[LCP]recursive dir delete

Angus Mackay amackay at gusnet.cx
Tue Feb 19 05:36:27 UTC 2002


um, directory structure? what for, the C compiler provides you with a stack for
free, just use recursion like everybody else:
  http://gusnet.cx/proj/miscunix/#recursfs.c

cheers, Angus.

It would seem that mehul radheshyam choube (mehulchoube_cprog at rediffmail.com) said:
> 
> hi friends,
> 
>   i am trying to write a c program which when given a directory path will
>   recursive delete the contents of the directory and then delete the
>   directory.
> 
>   which data structure should i use?(i think tree data structure).........
>   any ideas on data structures,some precautions,...



More information about the linuxCprogramming mailing list