News for hackers. Stuff that matters.
Re:Ask HN: Favorite pointer tricks in C? by phsoftnet on Saturday November 20, 2010 @09:48PM (#1926077)

   size_t strlen(char *s)
   {
     size_t i = 0;
     while(*s++) i++;
     return i;
   }

There are no comments on this comment yet.