Hi, I'm creating a list of type struct list_head (as I described in previous emails). Now, I've a doubt regarding the emptying of lists of that type. I know there are functions like list_del() that delete an element from the list. Is there a method to empty the whole list or I've to implement such a method by scanning the whole list and deleting each of its element? Thanks. Vincenzo Mallozz. ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/