C
sight23455
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Program open configuration file with it's relative path on Linux.
The problem is, if you open a programin another directory(not the executable directory). A bad program can't read the configuration file in it's relative path. To solve this, We can either wrap it...原创 2019-11-05 15:26:09 · 140 阅读 · 0 评论 -
filter for dirty string.
When I invoke somewhere my function the parameter is within dirty string, thus I did filtering: char username[20] = { 0 }; memcpy(username, _username->user.s, _username->user.len); ...原创 2019-08-08 17:41:06 · 153 阅读 · 0 评论
分享