NO

Author Topic: strset  (Read 3571 times)

Offline Robert

  • Member
  • *
  • Posts: 245
strset
« 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

Diddl

  • Guest
Re: strset
« Reply #1 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?

Offline Robert

  • Member
  • *
  • Posts: 245
Re: strset
« Reply #2 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