Re: String functions with end pointers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



%% Paul Eggert <eggert@xxxxxxxxxxx> writes:

  pe> Paul Eggert <eggert@xxxxxxxxxxx> writes:
  pe> char *memechr(const char *str, const char *endp, char c);

  pe> Come to think of it, this kind of signature isn't right for the mem*
  pe> family, and I suppose it should be something like this instead:

  pe> void *memechr(const void *mem, const void *endp, unsigned char c);


 void *memechr(const void *mem, const void *endp, uint8_t c);

!!

:-)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@xxxxxxx>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux