转自: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);

相关文章:

  • 2021-06-29
  • 2021-12-05
  • 2021-04-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-15
  • 2021-11-07
  • 2022-12-23
  • 2022-01-03
  • 2022-01-09
  • 2022-12-23
相关资源
相似解决方案