General C question - file attributes



  
  I'm reading directories with opendir, readdir and closedir.   Um... how
do I detect file attributes, specifically how to distinguish files from
sub-directories? 
  
  Pardon the newbie question,
  John
  
  (PS Thanks Havoc, for the gtk_object_set_data help!)
  
  
  
  
  

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]