glib equivalent to memset



Hello,

May I ask what is the equivalent function to memset with glib? I have a buffer of characters I would like to reset with spaces regularly. I don't want to recreate the buffer everytime. g_strnfill() is the function the closest to what I need. Unfortunately, each call to it creates new buffers. Should I just use memset()?

Thanks!

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/




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