Pelles C forum

Pelles C => Feature requests => Topic started by: Robert on October 04, 2007, 10:47:58 AM

Title: strset
Post by: Robert on October 04, 2007, 10:47:58 AM
Hi Pelle:

I would like to request that the strset and strnset functions be added to the Pelle's C compiler.

Thank you

Robert Wishlaw
Title: Re: strset
Post by: Diddl on October 04, 2007, 01:57:24 PM
in standard C-99 there is no strset() and no strnset(). use memset() instead.

strset() would make no sense. strxxx functions always works with \0 terminated strings. memset() fills a memory region with a byte value. which meaning should strset() do?
Title: Re: strset
Post by: Robert on October 06, 2007, 06:43:55 AM
in standard C-99 there is no strset() and no strnset(). use memset() instead.

Hey Diddl:

Thank you for the suggestion,  memset() is good. I withdraw my request.

Robert Wishlaw