property_get 与 property_set 的返回值(转载)
轉自:http://wzw19191.blog.163.com/blog/static/13113547020103218265162/
?
/* property_get: returns the length of the value which will never be
** greater than PROPERTY_VALUE_MAX - 1 and will always be zero terminated.
** (the length does not include the terminating zero).
**
** If the property read fails or returns an empty value, the default
** value is used (if nonnull).
*/
int property_get(const char *key, char *value, const char *default_value);
/* property_set: returns 0 on success, < 0 on failure
*/
int property_set(const char *key, const char *value);
轉載于:https://www.cnblogs.com/lance-ehf/p/3759074.html
總結
以上是生活随笔為你收集整理的property_get 与 property_set 的返回值(转载)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【问题收集·中级】关于XMPP使用Bas
- 下一篇: codeforces 435 B. P