【C语言库函数源代码】
【本程序在Dev C++ 4.9.9.2 下编译通过】
#include <stdlib.h>
/*
Searches at bufferfor the given character, stopping when characteris first found or cnt bytes have been searched through.
从buffer所指内存区域的前count个字节查找字符ch,当第一次遇到字符ch时停止查找。 如果成功,返回指向字符ch的指针;否则返回NULL。