Function sc_tdc_config_get_key

Function Documentation

int sc_tdc_config_get_key(const int dd, const char *key, char *buf, size_t buf_size, const char *def)

Get configuration data.

Parameters
  • dd – Device descriptor.

  • key – Configuration key in form ‘section:key’

  • buf – Space for configuration value as a string.

  • buf_size – Size of buf in bytes.

  • def – Default value.