Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Would strlen() be possible with Rule 17.4?
#3
Thank you! That is a big relief.

I was beginning to think that you had to operate on the array itself, rather than passing it to a function. Realising that [] and * are equivalent in an argument list, I though both would be outlawed, and could not see a way to proceed.

I'm not so worried about a compliant strlen() not matching the ANSI library standard prototype. I used it as an example because everyone knows how a simple one works and what it does. Now you have shown me a legal way to do that, I can use the same on my own code.

* fpeelo happy now :)

Frank
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)