source: azure_iot_hub/trunk/musl-1.1.18/src/string/strchr.c@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-csrc
File size: 186 bytes
Line 
1#include <string.h>
2
3char *__strchrnul(const char *, int);
4
5char *strchr(const char *s, int c)
6{
7 char *r = __strchrnul(s, c);
8 return *(unsigned char *)r == (unsigned char)c ? r : 0;
9}
Note: See TracBrowser for help on using the repository browser.