代码改变世界

随笔档案-2016年04月

Using fscanf to read message from FIFO will lost message

2016-04-23 16:52 by flyfish163, 333 阅读, 收藏,
摘要: In libcurl example hiperfifo.c, function fifo_cb uses fscanf(fifo inputstream,...) to read in a string.rv=fscanf(g->input, "%1023s%n", s, &n);When the 阅读全文