随笔分类 -  C

摘要:typedef void (*IOTRDStateCB)(char *host, unsigned int state); void RDStateCB(char *host, unsigned int state) { OCStackResult ret = OC_STACK_OK; LOG_DEBUG("host[%s] state[%s]", host, state == 0? "... 阅读全文
posted @ 2018-10-12 20:31 Daomy 阅读(197) 评论(0) 推荐(0)
摘要:定义 volatile keword indicates that a value may chang between different accesses, even if it does not appear to be modify.This keyword prevents an optim 阅读全文
posted @ 2018-09-24 19:25 Daomy 阅读(214) 评论(0) 推荐(0)