News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

strset

Started by Robert, October 04, 2007, 10:47:58 AM

Previous topic - Next topic

Robert

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

Diddl

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?

Robert

Quote from: Diddl on October 04, 2007, 01:57:24 PM
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